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.
    • Constructor Detail

      • AttributesPanel

        public AttributesPanel()
    • Method Detail

      • createUI

        protected javax.swing.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,​javax.swing.JComponent>
      • resetUI

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