Class ShapeFills

java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.ShapeFills
All Implemented Interfaces:
RMArchiver.Archiving, 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 Details

    • ShapeFills

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

    • getWindowTitle

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

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

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

      public void respondUI(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.