Class FormatPanel


  • public class FormatPanel
    extends SwingOwner
    This class provides UI for showing the formatter from the currently selected shape and editing or changing it.
    • Constructor Detail

      • FormatPanel

        public FormatPanel()
    • Method Detail

      • initUI

        protected void initUI()
        Initialize UI panel.
        Overrides:
        initUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • resetUI

        public void resetUI()
        Reset UI panel.
        Overrides:
        resetUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • respondUI

        public void respondUI​(SwingEvent anEvent)
        Responds to changes from format panel UI controls.
        Overrides:
        respondUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • getNumberFormatCount

        public static int getNumberFormatCount()
        Returns the number of preset number formats available to the format panel.
      • getNumberFormat

        public static RMNumberFormat getNumberFormat​(int anIndex)
        Returns the preset number format at the given index.
      • getNumberFormatsString

        public static java.lang.String getNumberFormatsString()
        Returns the Format panel's current number format strings as a single newline separated string.
      • setNumberFormatsString

        public static void setNumberFormatsString​(java.lang.String aString)
        Sets the FormatPanel's current number formats from a single newline separated string.
      • getDateFormatCount

        public static int getDateFormatCount()
        Returns the number of preset date formats available to the format panel.
      • getDateFormat

        public static RMDateFormat getDateFormat​(int anIndex)
        Returns the preset date format at the given index.
      • getDateFormatIndex

        public static int getDateFormatIndex​(java.lang.String aPattern)
        Returns the index of the preset date format for a given date format pattern.
      • getDateFormatsString

        public static java.lang.String getDateFormatsString()
        Returns the Format panel's current date format strings as a single newline separated string.
      • setDateFormatsString

        public static void setDateFormatsString​(java.lang.String aString)
        Sets the FormatPanel's current date formats from a single newline separated string.
      • getWindowTitle

        public java.lang.String getWindowTitle()
        Returns the name for the attributes panel window.
      • getDefaultNumberFormatsString

        public static java.lang.String getDefaultNumberFormatsString()
        Returns ReportMill's default number format strings as a single newline delimited string.
      • getDefaultDateFormatsString

        public static java.lang.String getDefaultDateFormatsString()
        Returns ReportMill's default date format strings as a single newline delimited String.