Package com.reportmill.panels
Class LabelsTool
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- com.reportmill.panels.Tool
-
- com.reportmill.panels.LabelsTool
-
- All Implemented Interfaces:
RMArchiver.Archiving,java.lang.Cloneable
public class LabelsTool extends Tool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classLabelsTool.LabelFormat-
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 Constructor Description LabelsTool()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddLabels(RMEditor anEditor, java.lang.String aKeyPath)voiddropString(javax.swing.JTable aTable, java.lang.String aString, java.awt.Point aPoint)java.lang.ClassgetShapeClass()Returns the shape class that this tool handles.RJPanelgetUI()Returns the Swing UI panel for this tool.java.lang.StringgetWindowTitle()Returns the string to be used for the inspector window title.java.util.VectorlabelFormats()voidmoveSort(int from, int to)voidresetUI()Resets the UI associated with this tool.voidrespondUI(java.lang.Object anObj)Responder callback for the UI associated with this tool.javax.swing.table.AbstractTableModelsortingTableModel()-
Methods inherited from class com.reportmill.panels.Tool
activateTool, deactivateTool, didBecomeSuperSelectedShapeInEditor, editor, flushChanges, getCoreTool, getCoreToolIndex, getHandleAtPoint, getHandleCount, 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
-
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
-
-
-
Method Detail
-
getShapeClass
public java.lang.Class getShapeClass()
Description copied from class:ToolReturns the shape class that this tool handles.- Overrides:
getShapeClassin classTool
-
getWindowTitle
public java.lang.String getWindowTitle()
Description copied from class:ToolReturns the string to be used for the inspector window title.- Overrides:
getWindowTitlein classTool
-
getUI
public RJPanel getUI()
Description copied from class:ToolReturns the Swing UI panel for this tool.
-
resetUI
public void resetUI()
Description copied from class:ToolResets the UI associated with this tool.
-
respondUI
public void respondUI(java.lang.Object anObj)
Description copied from class:ToolResponder callback for the UI associated with this tool.
-
addLabels
public static void addLabels(RMEditor anEditor, java.lang.String aKeyPath)
-
dropString
public void dropString(javax.swing.JTable aTable, java.lang.String aString, java.awt.Point aPoint)
-
moveSort
public void moveSort(int from, int to)
-
sortingTableModel
public javax.swing.table.AbstractTableModel sortingTableModel()
-
labelFormats
public java.util.Vector labelFormats()
-
-