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 class
LabelsTool.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 void
addLabels(RMEditor anEditor, java.lang.String aKeyPath)
void
dropString(javax.swing.JTable aTable, java.lang.String aString, java.awt.Point aPoint)
java.lang.Class
getShapeClass()
Returns the shape class that this tool handles.RJPanel
getUI()
Returns the Swing UI panel for this tool.java.lang.String
getWindowTitle()
Returns the string to be used for the inspector window title.java.util.Vector
labelFormats()
void
moveSort(int from, int to)
void
resetUI()
Resets the UI associated with this tool.void
respondUI(java.lang.Object anObj)
Responder callback for the UI associated with this tool.javax.swing.table.AbstractTableModel
sortingTableModel()
-
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:Tool
Returns the shape class that this tool handles.- Overrides:
getShapeClass
in classTool
-
getWindowTitle
public java.lang.String getWindowTitle()
Description copied from class:Tool
Returns the string to be used for the inspector window title.- Overrides:
getWindowTitle
in classTool
-
getUI
public RJPanel getUI()
Description copied from class:Tool
Returns the Swing UI panel for this tool.
-
resetUI
public void resetUI()
Description copied from class:Tool
Resets the UI associated with this tool.
-
respondUI
public void respondUI(java.lang.Object anObj)
Description copied from class:Tool
Responder 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()
-
-