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,- java.lang.Cloneable
 
 public class RBPageTool extends RBTool Provides for Swing UI editing of RBPage properties.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.reportmill.panels.ToolTool.RMShapeHandle
 
- 
 - 
Field Summary- 
Fields inherited from class com.reportmill.panels.ToolHandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth
 
- 
 - 
Constructor SummaryConstructors Constructor Description RBPageTool()Creates a new RBPageTool.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHandleCount(RMShape aShape)Overrides tool method to declare that pages have no handles.javax.swing.ImageIcongetImageIcon()Returns the icon to be used to represent this tool in the inspector window selection path.java.lang.ClassgetShapeClass()Returns the class that this tool is responsible for.RJPanelgetUI()Returns the Swing GUI for this tool.java.lang.StringgetWindowTitle()Returns the name used to represent this tool in the inspector window title.voidresetUI()Updates the Swing UI for this tool from the currently selected RBPage.voidrespondUI(java.lang.Object anObj)Propagates changes from the Swing UI controls to the currently selected RBPage.voidsyncComponentsFromShapes(RMShape aShape)Synchronizes component heirarchy from shape heirarchy (shapes may have been added, removed, reordered).- 
Methods inherited from class com.ribsapp.shapes.RBToolbuildShapesFromComponents, BuildShapesFromComponents, getComponentPacked, getToolRB, SyncComponentsFromShapes
 - 
Methods inherited from class com.reportmill.panels.ToolactivateTool, 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.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Method Detail- 
resetUIpublic void resetUI() Updates the Swing UI for this tool from the currently selected RBPage.
 - 
respondUIpublic void respondUI(java.lang.Object anObj) Propagates changes from the Swing UI controls to the currently selected RBPage.
 - 
getHandleCountpublic int getHandleCount(RMShape aShape) Overrides tool method to declare that pages have no handles.- Overrides:
- getHandleCountin class- RBTool
 
 - 
getShapeClasspublic java.lang.Class getShapeClass() Returns the class that this tool is responsible for.- Overrides:
- getShapeClassin class- Tool
 
 - 
getWindowTitlepublic java.lang.String getWindowTitle() Returns the name used to represent this tool in the inspector window title.- Overrides:
- getWindowTitlein class- Tool
 
 - 
getImageIconpublic javax.swing.ImageIcon getImageIcon() Returns the icon to be used to represent this tool in the inspector window selection path.- Overrides:
- getImageIconin class- Tool
 
 - 
syncComponentsFromShapespublic void syncComponentsFromShapes(RMShape aShape) Synchronizes component heirarchy from shape heirarchy (shapes may have been added, removed, reordered).- Overrides:
- syncComponentsFromShapesin class- RBTool
 
 
- 
 
-