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 intgetHandleCount(RMShape aShape)Editor method (returns the number of handles).RMPointgetHandlePoint(RMShape aShape, int i, boolean iss)Editor method.java.lang.ClassgetShapeClass()Returns the separator tool's class.RJPanelgetUI()Returns the Swing UI panel (loading if needed).java.lang.StringgetWindowTitle()Returns the name for the inspector window title bar.voidmoveShapeHandle(RMShape aShape, int i, RMPoint toPoint)Editor method.voidresetUI()Updates the Swing UI from the currently selected radio button shape.voidrespondUI(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:
getShapeClassin classTool
-
getWindowTitle
public java.lang.String getWindowTitle()
Returns the name for the inspector window title bar.- Overrides:
getWindowTitlein 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:
getHandleCountin classRBTool
-
getHandlePoint
public RMPoint getHandlePoint(RMShape aShape, int i, boolean iss)
Editor method.- Overrides:
getHandlePointin classTool
-
moveShapeHandle
public void moveShapeHandle(RMShape aShape, int i, RMPoint toPoint)
Editor method.- Overrides:
moveShapeHandlein classTool
-
-