Class AttributesPanel

java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.AttributesPanel
All Implemented Interfaces:
RMArchiver.Archiving, Cloneable
Direct Known Subclasses:
RBAttributesPanel

public class AttributesPanel extends RMObject
This class manages the attributes panel which holds the color panel, font panel, formatter panel and keys panel.
  • Field Details

  • Constructor Details

    • AttributesPanel

      public AttributesPanel()
      Creates a new attributes panel.
  • Method Details

    • shared

      public static AttributesPanel shared()
      Returns the shared instance of the attributes panel.
    • getUI

      public RJPanel getUI()
      Returns the Swing UI panel for the attributes panel.
    • isVisible

      public boolean isVisible()
      Returns whether the attributes panel is visible.
    • setVisible

      public void setVisible(boolean aValue)
      Sets the attributes panel visible.
    • getVisible

      public int getVisible()
      Returns the index of the currently visible tab (or -1 if attributes panel not visible).
    • setVisible

      public void setVisible(int anIndex)
      Sets the attributes panel visible, specifying a specific tab by the given index.
    • getTabbedPane

      public JTabbedPane getTabbedPane()
      Returns the Tab pane used by the attributes panel.
    • setSelectedTab

      public void setSelectedTab(int index)
      Sets the currently selected tab by index.
    • resetUI

      public void resetUI()
      Updates the attributes panel UI (forwards on to inspector at selected tab).
    • close

      public void close()
      Closes the attributes panel and releases the UI.