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
,java.lang.Cloneable
public class JSeparatorTool extends RBTool
-
-
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 Constructor Description JSeparatorTool()
Creates a new separator tool.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHandleCount(RMShape aShape)
Editor method (returns the number of handles).RMPoint
getHandlePoint(RMShape aShape, int i, boolean iss)
Editor method.java.lang.Class
getShapeClass()
Returns the separator tool's class.RJPanel
getUI()
Returns the Swing UI panel (loading if needed).java.lang.String
getWindowTitle()
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
respondUI(java.lang.Object anObj)
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
-
-
-
-
Method Detail
-
getShapeClass
public java.lang.Class getShapeClass()
Returns the separator tool's class.- Overrides:
getShapeClass
in classTool
-
getWindowTitle
public java.lang.String getWindowTitle()
Returns the name for the inspector window title bar.- Overrides:
getWindowTitle
in classTool
-
getUI
public RJPanel 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
public void respondUI(java.lang.Object anObj)
Updates the currently selected radio button shape from the Swing UI.
-
getHandleCount
public int getHandleCount(RMShape aShape)
Editor method (returns the number of handles).- Overrides:
getHandleCount
in classRBTool
-
getHandlePoint
public RMPoint getHandlePoint(RMShape aShape, int i, boolean iss)
Editor method.- Overrides:
getHandlePoint
in classTool
-
moveShapeHandle
public void moveShapeHandle(RMShape aShape, int i, RMPoint toPoint)
Editor method.- Overrides:
moveShapeHandle
in classTool
-
-