Package com.reportmill.panels
Class ShapeFills
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.ShapeFills
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
This class manages the Swing UI for editing the currently selected shapes fill attributes, like fill color,
stroke color, transparency, etc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getStrokeComboBoxIndex
(RMStroke aStroke) Returns the StrokeComboBox index for the given stroke.getStrokeComboBoxStroke
(int anIndex, RMStroke aBaseStroke) Returns the StrokeComboBox adjusted stroke for the given combobox index and an original base stroke.getUI()
Returns the Swing UI panel.Returns the display name for the inspector.void
resetUI()
Reset Swing UI controls from current selection.void
Updates currently selected shapes from Swing UI controls.Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
ShapeFills
public ShapeFills()Creates a new surface inspector.
-
-
Method Details
-
getWindowTitle
Returns the display name for the inspector. -
getUI
Returns the Swing UI panel. -
resetUI
public void resetUI()Reset Swing UI controls from current selection. -
respondUI
Updates currently selected shapes from Swing UI controls. -
getStrokeComboBoxIndex
Returns the StrokeComboBox index for the given stroke. -
getStrokeComboBoxStroke
Returns the StrokeComboBox adjusted stroke for the given combobox index and an original base stroke.
-