Package com.reportmill.panels
Class ShapeFills
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- com.reportmill.panels.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 Summary
Constructors Constructor Description ShapeFills()
Creates a new surface inspector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStrokeComboBoxIndex(RMStroke aStroke)
Returns the StrokeComboBox index for the given stroke.RMStroke
getStrokeComboBoxStroke(int anIndex, RMStroke aBaseStroke)
Returns the StrokeComboBox adjusted stroke for the given combobox index and an original base stroke.javax.swing.JPanel
getUI()
Returns the Swing UI panel.java.lang.String
getWindowTitle()
Returns the display name for the inspector.void
resetUI()
Reset Swing UI controls from current selection.void
respondUI(java.lang.Object anObj)
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
-
-
-
-
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.
-
-