public class DocumentTool extends Tool
Modifier and Type | Class and Description |
---|---|
static class |
DocumentTool.PageSizeView
An inner class to render Page control.
|
Tool.RMShapeHandle
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth
Constructor and Description |
---|
DocumentTool() |
Modifier and Type | Method and Description |
---|---|
int |
getHandleCount(RMShape aShape)
Overrides tool method to declare that documents have no handles.
|
java.lang.Class |
getShapeClass()
Returns the class that tool edits.
|
RJPanel |
getUI()
Returns the Swing UI for inspector window.
|
java.lang.String |
getWindowTitle()
Returns the name to be show in inspector window.
|
void |
resetUI()
Resets the Swing controls in the UI from the current document.
|
void |
respondUI(java.lang.Object anObj)
Responds to Swing controls in UI to update current document.
|
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandlePoint, getHandleRect, getImageIcon, 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
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public java.lang.Class getShapeClass()
getShapeClass
in class Tool
public java.lang.String getWindowTitle()
getWindowTitle
in class Tool
public RJPanel getUI()
public void resetUI()
public void respondUI(java.lang.Object anObj)
public int getHandleCount(RMShape aShape)
getHandleCount
in class Tool