public class RBPageTool extends RBTool
Tool.RMShapeHandleHandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth| Constructor and Description |
|---|
RBPageTool()
Creates a new RBPageTool.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHandleCount(RMShape aShape)
Overrides tool method to declare that pages have no handles.
|
javax.swing.ImageIcon |
getImageIcon()
Returns the icon to be used to represent this tool in the inspector window selection path.
|
java.lang.Class |
getShapeClass()
Returns the class that this tool is responsible for.
|
RJPanel |
getUI()
Returns the Swing GUI for this tool.
|
java.lang.String |
getWindowTitle()
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 |
respondUI(java.lang.Object anObj)
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).
|
buildShapesFromComponents, BuildShapesFromComponents, getComponentPacked, getToolRB, SyncComponentsFromShapesactivateTool, 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, willLoseSuperSelectionInEditorclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEqualspublic void resetUI()
public void respondUI(java.lang.Object anObj)
public int getHandleCount(RMShape aShape)
getHandleCount in class RBToolpublic java.lang.Class getShapeClass()
getShapeClass in class Toolpublic java.lang.String getWindowTitle()
getWindowTitle in class Toolpublic javax.swing.ImageIcon getImageIcon()
getImageIcon in class Toolpublic void syncComponentsFromShapes(RMShape aShape)
syncComponentsFromShapes in class RBTool