|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
org.jgraph.plaf.GraphUI
org.jgraph.plaf.basic.BasicGraphUI
cz.cmc.tcgui.TCGraphUI
Title: Customization of the UI for TCGui
Description:
Copyright: Copyright (c) 2003
Company: CMC Computers
Nested Class Summary | |
class |
TCGraphUI.TCGraphSelectionHandler
Listens for changes in the selection model and updates the display accordingly. |
class |
TCGraphUI.TCMouseHandler
Handler for mouse events Title: class TCMouseHandler Description: Copyright: Copyright (c) 2003 Company: CMC Computers |
class |
TCGraphUI.TCRootHandle
Title: class TCRootHandle Description: RootHandle customized for TC schema editing Copyright: Copyright (c) 2003 Company: CMC Computers |
Nested classes inherited from class org.jgraph.plaf.basic.BasicGraphUI |
org.jgraph.plaf.basic.BasicGraphUI.CellEditorHandler, org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler, org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener, org.jgraph.plaf.basic.BasicGraphUI.GraphIncrementAction, org.jgraph.plaf.basic.BasicGraphUI.GraphModelHandler, org.jgraph.plaf.basic.BasicGraphUI.GraphSelectionHandler, org.jgraph.plaf.basic.BasicGraphUI.GraphTransferHandler, org.jgraph.plaf.basic.BasicGraphUI.GraphViewObserver, org.jgraph.plaf.basic.BasicGraphUI.KeyHandler, org.jgraph.plaf.basic.BasicGraphUI.MouseHandler, org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler, org.jgraph.plaf.basic.BasicGraphUI.PropertyChangeHandler, org.jgraph.plaf.basic.BasicGraphUI.RootHandle |
Field Summary |
Fields inherited from class org.jgraph.plaf.basic.BasicGraphUI |
cellEditor, cellEditorListener, componentListener, defaultDropTargetListener, defaultTransferHandler, DNDPREVIEW, dropAction, editingCell, editingComponent, editorHasDifferentSize, focus, graph, graphLayoutCache, graphModel, graphModelListener, graphSelectionListener, graphSelectionModel, graphViewObserver, handle, insertionLocation, keyListener, marquee, MAXCELLS, MAXCLIPCELLS, MAXHANDLES, mouseListener, preferredMinSize, preferredSize, propertyChangeListener, rendererPane, SCROLLBORDER, SCROLLSTEP, snapSelectedView, stopEditingInCompleteEditing, validCachedPreferredSize |
Constructor Summary | |
TCGraphUI()
|
Method Summary | |
protected org.jgraph.event.GraphSelectionListener |
createGraphSelectionListener()
Creates the listener that updates the display based on selection change methods. |
org.jgraph.graph.CellHandle |
createHandle(org.jgraph.graph.GraphContext context)
|
protected MouseListener |
createMouseListener()
|
void |
selectCellForEvent(Object cell,
MouseEvent event)
Overriden to gain TC schema specific selection behavior |
void |
selectCellsForEvent(org.jgraph.JGraph graph,
Object[] cells,
MouseEvent event)
From GraphUI interface. |
void |
selectCellsForEvent(Object[] cells,
MouseEvent event)
Messaged to update the selection based on a MouseEvent for a group of cells. |
Methods inherited from class org.jgraph.plaf.basic.BasicGraphUI |
autoscroll, cancelEditing, completeEditing, completeEditing, completeUIInstall, completeUIUninstall, createCellEditorListener, createCellRendererPane, createComponentListener, createContext, createGraphModelListener, createGraphViewObserver, createKeyListener, createPropertyChangeListener, createTransferHandler, createUI, getEditingCell, getFocusedCell, getHandle, getInsertionLocation, getMaximumSize, getMinimumSize, getPreferredMinSize, getPreferredSize, getPreferredSize, insertCells, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isAddToSelectionEvent, isConstrainedMoveEvent, isEditing, isForceMarqueeEvent, isSnapSelectedView, isToggleSelectionEvent, paint, paintBackground, paintCell, paintForeground, paintGrid, paintPorts, prepareForUIInstall, setGraphLayoutCache, setInsertionLocation, setMarquee, setModel, setPreferredMinSize, setSelectionModel, setSnapSelectedView, startEditing, startEditingAtCell, stopEditing, toggleSelectionCellForEvent, uninstallComponents, uninstallKeyboardActions, uninstallListeners, uninstallUI, updateCachedPreferredSize, updateHandle, updateSize |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TCGraphUI()
Method Detail |
public void selectCellsForEvent(org.jgraph.JGraph graph, Object[] cells, MouseEvent event)
public void selectCellsForEvent(Object[] cells, MouseEvent event)
public void selectCellForEvent(Object cell, MouseEvent event)
protected org.jgraph.event.GraphSelectionListener createGraphSelectionListener()
public org.jgraph.graph.CellHandle createHandle(org.jgraph.graph.GraphContext context)
protected MouseListener createMouseListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |