Class ShapeFills

  • All Implemented Interfaces:
    RMArchiver.Archiving, java.lang.Cloneable

    public class ShapeFills
    extends RMObject
    This class manages the Swing UI for editing the currently selected shapes fill attributes, like fill color, stroke color, transparency, etc.
    • Constructor Detail

      • ShapeFills

        public ShapeFills()
        Creates a new surface inspector.
    • Method Detail

      • getWindowTitle

        public java.lang.String getWindowTitle()
        Returns the display name for the inspector.
      • getUI

        public javax.swing.JPanel getUI()
        Returns the Swing UI panel.
      • resetUI

        public void resetUI()
        Reset Swing UI controls from current selection.
      • respondUI

        public void respondUI​(java.lang.Object anObj)
        Updates currently selected shapes from Swing UI controls.
      • getStrokeComboBoxIndex

        public int getStrokeComboBoxIndex​(RMStroke aStroke)
        Returns the StrokeComboBox index for the given stroke.
      • getStrokeComboBoxStroke

        public RMStroke getStrokeComboBoxStroke​(int anIndex,
                                                RMStroke aBaseStroke)
        Returns the StrokeComboBox adjusted stroke for the given combobox index and an original base stroke.