Package com.ribsapp.shapes
Class JSeparatorTool
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.ribsapp.shapes.RBTool
com.ribsapp.shapes.JSeparatorTool
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.reportmill.panels.Tool
Tool.RMShapeHandle
-
Field Summary
Fields inherited from class com.reportmill.panels.Tool
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getHandleCount
(RMShape aShape) Editor method (returns the number of handles).getHandlePoint
(RMShape aShape, int i, boolean iss) Editor method.Returns the separator tool's class.getUI()
Returns the Swing UI panel (loading if needed).Returns the name for the inspector window title bar.void
moveShapeHandle
(RMShape aShape, int i, RMPoint toPoint) Editor method.void
resetUI()
Updates the Swing UI from the currently selected radio button shape.void
Updates the currently selected radio button shape from the Swing UI.Methods inherited from class com.ribsapp.shapes.RBTool
buildShapesFromComponents, BuildShapesFromComponents, getComponentPacked, getToolRB, syncComponentsFromShapes, SyncComponentsFromShapes
Methods inherited from class com.reportmill.panels.Tool
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandleRect, getImageIcon, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, isInstance, isSelected, isSuperSelected, mouseDragged, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressed, mousePressedSelection, mouseReleased, mouseReleased, newInstance, paintSelectedShape, paintSuperSelectedShape, paintTool, processKeyEvent, reactivateTool, willLoseSuperSelectionInEditor
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
JSeparatorTool
public JSeparatorTool()Creates a new separator tool.
-
-
Method Details
-
getShapeClass
Returns the separator tool's class.- Overrides:
getShapeClass
in classTool
-
getWindowTitle
Returns the name for the inspector window title bar.- Overrides:
getWindowTitle
in classTool
-
getUI
Returns the Swing UI panel (loading if needed). -
resetUI
public void resetUI()Updates the Swing UI from the currently selected radio button shape. -
respondUI
Updates the currently selected radio button shape from the Swing UI. -
getHandleCount
Editor method (returns the number of handles).- Overrides:
getHandleCount
in classRBTool
-
getHandlePoint
Editor method.- Overrides:
getHandlePoint
in classTool
-
moveShapeHandle
Editor method.- Overrides:
moveShapeHandle
in classTool
-