public class RBTool extends Tool
Tool.RMShapeHandleHandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth| Constructor and Description |
|---|
RBTool() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildShapesFromComponents(javax.swing.JComponent aComponent,
RJShape aShape,
RMShape aParentShape)
Creates the appropriate RJShape for given RJComponent and adds it to given shape.
|
static RJShape |
BuildShapesFromComponents(javax.swing.JComponent aComponent,
RMShape aParentShape)
Creates the appropriate RJShape for given RJComponent and adds it to given shape.
|
static javax.swing.JComponent |
getComponentPacked(javax.swing.JComponent aComponent)
Returns a copy of the given component appropriately layed out.
|
int |
getHandleCount(RMShape aShape)
Returns the number of handles for this shape.
|
static RBTool |
getToolRB(RMShape aShape)
Returns the specific tool for a given shape.
|
static void |
SyncComponentsFromShapes(RBDocument aDocument)
Synchronizes shape/component heirarchy for given document.
|
void |
syncComponentsFromShapes(RMShape aShape)
Synchronizes component heirarchy from shape heirarchy (shapes may have been added, removed, reordered).
|
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandlePoint, getHandleRect, getImageIcon, getImageIcon, getSelectedShape, getSelectedShapes, getSelectTool, getShapeClass, getShapeHandleAtPoint, getTool, getTool, getUI, getWindowTitle, isInstance, isSelected, isSuperSelected, mouseDragged, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressed, mousePressedSelection, mouseReleased, mouseReleased, moveShapeHandle, newInstance, paintSelectedShape, paintSuperSelectedShape, paintTool, processKeyEvent, reactivateTool, resetUI, respondUI, willLoseSuperSelectionInEditorclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEqualspublic static RBTool getToolRB(RMShape aShape)
public int getHandleCount(RMShape aShape)
getHandleCount in class Toolpublic static RJShape BuildShapesFromComponents(javax.swing.JComponent aComponent, RMShape aParentShape)
public void buildShapesFromComponents(javax.swing.JComponent aComponent,
RJShape aShape,
RMShape aParentShape)
public static void SyncComponentsFromShapes(RBDocument aDocument)
public void syncComponentsFromShapes(RMShape aShape)
public static javax.swing.JComponent getComponentPacked(javax.swing.JComponent aComponent)