Package com.ribsapp.shapes
Class RBPageTool
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.panels.Tool
com.ribsapp.shapes.RBTool
com.ribsapp.shapes.RBPageTool
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
Provides for Swing UI editing of RBPage properties.
-
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) Overrides tool method to declare that pages have no handles.Returns the icon to be used to represent this tool in the inspector window selection path.Returns the class that this tool is responsible for.getUI()
Returns the Swing GUI for this tool.Returns the name used to represent this tool in the inspector window title.void
resetUI()
Updates the Swing UI for this tool from the currently selected RBPage.void
Propagates changes from the Swing UI controls to the currently selected RBPage.void
syncComponentsFromShapes
(RMShape aShape) Synchronizes component heirarchy from shape heirarchy (shapes may have been added, removed, reordered).Methods inherited from class com.ribsapp.shapes.RBTool
buildShapesFromComponents, BuildShapesFromComponents, getComponentPacked, getToolRB, SyncComponentsFromShapes
Methods inherited from class com.reportmill.panels.Tool
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandlePoint, getHandleRect, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeHandleAtPoint, getTool, getTool, isInstance, isSelected, isSuperSelected, mouseDragged, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressed, mousePressedSelection, mouseReleased, mouseReleased, moveShapeHandle, 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
-
RBPageTool
public RBPageTool()Creates a new RBPageTool.
-
-
Method Details
-
getUI
Returns the Swing GUI for this tool. -
resetUI
public void resetUI()Updates the Swing UI for this tool from the currently selected RBPage. -
respondUI
Propagates changes from the Swing UI controls to the currently selected RBPage. -
getHandleCount
Overrides tool method to declare that pages have no handles.- Overrides:
getHandleCount
in classRBTool
-
getShapeClass
Returns the class that this tool is responsible for.- Overrides:
getShapeClass
in classTool
-
getWindowTitle
Returns the name used to represent this tool in the inspector window title.- Overrides:
getWindowTitle
in classTool
-
getImageIcon
Returns the icon to be used to represent this tool in the inspector window selection path.- Overrides:
getImageIcon
in classTool
-
syncComponentsFromShapes
Synchronizes component heirarchy from shape heirarchy (shapes may have been added, removed, reordered).- Overrides:
syncComponentsFromShapes
in classRBTool
-