public class RMCrossTabCellTool<T extends RMCrossTabCell> extends RMTextShapeTool<T> implements RMSortPanel.Owner
RMTool.RMShapeHandle
HandleE, HandleN, HandleNE, HandleNW, HandleS, HandleSE, HandleSW, HandleW, HandleWidth, SPLIT_RESET
DragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased
Constructor and Description |
---|
RMCrossTabCellTool() |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JComponent |
createUI()
Creates UI panel - base panel is RMTextTool version.
|
boolean |
drawBoundsRect(RMTextShape aText)
Returns whether to draw bounds rect.
|
void |
drop(T aCell,
java.awt.dnd.DropTargetDropEvent anEvent)
Override normal implementation to handle KeysPanel drop.
|
RMCrossTabCell |
getCell()
Returns the currently selected cell.
|
RMGrouping |
getGrouping()
Returns the grouping of the selected cell.
|
int |
getHandleCount(T aShape)
Overrides tool method to indicate that cells have no handles.
|
javax.swing.Icon |
getIcon()
Returns the icon for bar labels (uses SwitchShapeTool icon).
|
protected void |
initUI()
Create UI panel.
|
void |
mouseDragged(T aCell,
java.awt.event.MouseEvent anEvent)
Event handling - overrides text tool to pass handling to table tool if user really wants to select cells.
|
void |
mousePressed(T aShape,
java.awt.event.MouseEvent anEvent)
Event handling - overrides text tool to pass handling to table tool if user really wants to select cells.
|
void |
mouseReleased(T aCell,
java.awt.event.MouseEvent anEvent)
Event handling - overrides text to in case cell tool needs to forward events to table tool.
|
void |
processKeyEvent(T aCell,
java.awt.event.KeyEvent anEvent)
Key event handler for super selected cell.
|
void |
resetUI()
Updates UI from currently selected cell.
|
void |
respondUI(SwingEvent anEvent)
Updates currently selected cell from UI controls.
|
acceptsDrag, activateTool, convertToText, didBecomeSuperSelectedShapeInEditor, getHandleRect, getShapeClass, getToolTipText, getWindowTitle, isPaintingTextLinkIndicator, mouseDragged, mouseMoved, mousePressed, mousePressedSelection, mouseReleased, moveShapeHandle, paintShapeHandles, paintTextLinkIndicator, willLoseSuperSelectionInEditor
attachEventBus, deactivateTool, dragEnter, dragExit, dragOver, dropClass, dropColor, dropDragKey, dropFiles, dropString, flavorForClass, flushChanges, getAcceptsChildren, getBoundsSuperSelected, getDatasetEntity, getDragDisplayBounds, getEditor, getEditorPane, getFont, getFontDeep, getGalleryClone, getHandleAtPoint, getHandleCursor, getHandleOpposing, getHandlePoint, getIcon, getPointsFromUnits, getSelectedShape, getSelectedShapes, getSelectTool, getShapeFillInspector, getShapeHandleAtPoint, getTool, getTool, getUnitsFromPoints, isSelected, isSuperSelectable, isSuperSelected, isUngroupable, mouseMoved, newInstance, paintTool, reactivateTool, setFont, setFontBold, setFontBoldDeep, setFontFamily, setFontFamilyDeep, setFontItalic, setFontItalicDeep, setFontName, setFontNameDeep, setFontSize, setFontSizeDeep
addKeyActionEvent, createTimer, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisible
addNodeBinding, disableEvents, enableEvents, getBindingModelValue, getBindingNodeValue, getConversionMap, getConversionMapKey, getConversionMaps, getConversionMapValue, getFirstFocus, getModelValue, getNode, getNodeAction, getNodeBoolValue, getNodeFloatValue, getNodeIntValue, getNodeItemDisplayKey, getNodeItems, getNodeSelectedIndex, getNodeSelectedItem, getNodeStringValue, getNodeText, getNodeValue, getUI, getUIHpr, initUI, isNodeEnabled, isNodeValueAdjusting, isSendEventDisabled, isUISet, processResetUI, processRespondUI, resetLater, resetNodeBindings, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSelectedShape
protected javax.swing.JComponent createUI()
createUI
in class RMTool<T extends RMCrossTabCell>
protected void initUI()
initUI
in class RMTextShapeTool<T extends RMCrossTabCell>
public void resetUI()
resetUI
in class RMTextShapeTool<T extends RMCrossTabCell>
public void respondUI(SwingEvent anEvent)
respondUI
in interface RMSortPanel.Owner
respondUI
in class RMTextShapeTool<T extends RMCrossTabCell>
public RMCrossTabCell getCell()
public RMGrouping getGrouping()
getGrouping
in interface RMSortPanel.Owner
public void mousePressed(T aShape, java.awt.event.MouseEvent anEvent)
mousePressed
in class RMTextShapeTool<T extends RMCrossTabCell>
public void mouseDragged(T aCell, java.awt.event.MouseEvent anEvent)
mouseDragged
in class RMTextShapeTool<T extends RMCrossTabCell>
public void mouseReleased(T aCell, java.awt.event.MouseEvent anEvent)
mouseReleased
in class RMTextShapeTool<T extends RMCrossTabCell>
public void processKeyEvent(T aCell, java.awt.event.KeyEvent anEvent)
processKeyEvent
in class RMTextShapeTool<T extends RMCrossTabCell>
public int getHandleCount(T aShape)
getHandleCount
in class RMTextShapeTool<T extends RMCrossTabCell>
public javax.swing.Icon getIcon()
getIcon
in class RMTool<T extends RMCrossTabCell>
public boolean drawBoundsRect(RMTextShape aText)
public void drop(T aCell, java.awt.dnd.DropTargetDropEvent anEvent)
drop
in class RMTextShapeTool<T extends RMCrossTabCell>