Class AttributesPanel


public class AttributesPanel extends SwingOwner
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()
  • Method Details

    • createUI

      protected JComponent createUI()
      Returns the UI panel for the attributes panel.
      Overrides:
      createUI in class SwingOwner
    • initUI

      protected void initUI()
      Initializes the UI panel.
      Overrides:
      initUI in class UIOwner<SwingEvent,JComponent>
    • resetUI

      public void resetUI()
      Updates the attributes panel UI (forwards on to inspector at selected tab).
      Overrides:
      resetUI in class UIOwner<SwingEvent,JComponent>
    • 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.