|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
org.jgraph.JGraph
cz.cmc.tcgui.TCGraph
Title:
Description:
Copyright: Copyright (c) 2003
Company: CMC Computers
Nested Class Summary |
Nested classes inherited from class org.jgraph.JGraph |
org.jgraph.JGraph.EmptySelectionModel, org.jgraph.JGraph.GraphSelectionRedirector |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
static int |
CLASS_INPUT_HANDLE_HEIGHT
Indices of handle sizes |
static int |
CLASS_INPUT_HANDLE_WIDTH
Indices of handle sizes |
static int |
CLASSFUL_QDISC_OUTPUT_HANDLE_HEIGHT
Indices of handle sizes |
static int |
CLASSFUL_QDISC_OUTPUT_HANDLE_WIDTH
Indices of handle sizes |
static int |
FILTER_ELEMENT_INPUT_HANDLE_HEIGHT
Indices of handle sizes |
static int |
FILTER_ELEMENT_INPUT_HANDLE_WIDTH
Indices of handle sizes |
static int |
FILTER_HEAD_INPUT_HANDLE_HEIGHT
Indices of handle sizes |
static int |
FILTER_HEAD_INPUT_HANDLE_WIDTH
Indices of handle sizes |
static int |
FILTER_MATCH_HANDLE_HEIGHT
Indices of handle sizes |
static int |
FILTER_MATCH_HANDLE_WIDTH
Indices of handle sizes |
static int |
FILTER_OUTPUT_HANDLE_HEIGHT
Indices of handle sizes |
static int |
FILTER_OUTPUT_HANDLE_WIDTH
Indices of handle sizes |
static int |
HANDLE_SIZE_COUNT
Indices of handle sizes |
protected int[] |
handleSizes
Handle size array |
static int |
QDISC_INPUT_HANDLE_HEIGHT
Indices of handle sizes |
static int |
QDISC_INPUT_HANDLE_WIDTH
Indices of handle sizes |
static int |
SUBCLASS_OUTPUT_HANDLE_HEIGHT
Indices of handle sizes |
static int |
SUBCLASS_OUTPUT_HANDLE_WIDTH
Indices of handle sizes |
protected TCEditor |
tcEditor
The associated TC editor |
Fields inherited from class org.jgraph.JGraph |
antiAliased, ANTIALIASED_PROPERTY, bendable, cloneable, connectable, CROSS_GRID_MODE, disconnectable, disconnectOnMove, DOT_GRID_MODE, dragEnabled, dropEnabled, editable, EDITABLE_PROPERTY, editClickCount, enabled, GRAPH_LAYOUT_CACHE_PROPERTY, GRAPH_MODEL_PROPERTY, graphLayoutCache, graphModel, GRID_SIZE_PROPERTY, GRID_VISIBLE_PROPERTY, gridColor, gridEnabled, gridMode, gridSize, gridVisible, handleColor, handleSize, highlightColor, INVOKES_STOP_CELL_EDITING_PROPERTY, invokesStopCellEditing, LINE_GRID_MODE, lockedHandleColor, marquee, MARQUEE_HANDLER_PROPERTY, marqueeColor, minimumMove, moveable, PORTS_VISIBLE_PROPERTY, portsVisible, scale, SCALE_PROPERTY, SELECTION_MODEL_PROPERTY, selectionModel, selectionRedirector, selectNewCells, sizeable, tolerance, VERSION |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
TCGraph()
Creates new TCGraph using defaults |
|
TCGraph(org.jgraph.graph.GraphModel model)
|
|
TCGraph(org.jgraph.graph.GraphModel model,
org.jgraph.graph.BasicMarqueeHandler mh)
|
|
TCGraph(org.jgraph.graph.GraphModel model,
org.jgraph.graph.GraphLayoutCache view)
|
|
TCGraph(org.jgraph.graph.GraphModel model,
org.jgraph.graph.GraphLayoutCache view,
org.jgraph.graph.BasicMarqueeHandler mh)
|
Method Summary | |
org.jgraph.graph.CellView |
createView(Object cell,
org.jgraph.graph.CellMapper cm)
Overrides JGraph.createView |
int |
getHandleSize(int index)
Returns handle size with the given index |
int |
getMaxHandleSize()
|
TCEditor |
getTCEditor()
Get associated TC editor |
void |
setHandleSize(int index,
int size)
Sets size of the handle with the given index |
void |
setTCEditor(TCEditor tcEditor)
Associates a TCEditor with this graph |
Methods inherited from class org.jgraph.JGraph |
addGraphSelectionListener, addSampleData, addSelectionCell, addSelectionCells, cancelEditing, clearSelection, cloneCells, convertValueToString, createBounds, createDefaultGraphView, createEdgeView, createEdgeView, createPortView, createPortView, createVertexView, fireValueChanged, fromScreen, fromScreen, getCellBounds, getCellBounds, getDescendantList, getDescendants, getEditClickCount, getEditingCell, getFirstCellForLocation, getGraphLayoutCache, getGridColor, getGridMode, getGridSize, getHandleColor, getHandleSize, getHighlightColor, getInvokesStopCellEditing, getLockedHandleColor, getMarqueeColor, getMarqueeHandler, getMinimumMove, getModel, getNextCellForLocation, getNextViewAt, getNextViewAt, getPortForLocation, getPortViewAt, getPreferredScrollableViewportSize, getRoots, getRoots, getScale, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectionCell, getSelectionCells, getSelectionCount, getSelectionModel, getTolerance, getToolTipText, getUI, getUIClassID, graphDidChange, isAntiAliased, isBendable, isCellEditable, isCellSelected, isCloneable, isConnectable, isDisconnectable, isDisconnectOnMove, isDragEnabled, isDropEnabled, isEditable, isEditing, isGridEnabled, isGridVisible, isMoveable, isPortsVisible, isSelectionEmpty, isSelectNewCells, isSizeable, main, paramString, removeGraphSelectionListener, removeSelectionCell, scrollCellToVisible, scrollPointToVisible, setAntiAliased, setBendable, setCloneable, setConnectable, setDisconnectable, setDisconnectOnMove, setDragEnabled, setDropEnabled, setEditable, setEditClickCount, setGraphLayoutCache, setGridColor, setGridEnabled, setGridMode, setGridSize, setGridVisible, setHandleColor, setHandleSize, setHighlightColor, setInvokesStopCellEditing, setLockedHandleColor, setMarqueeColor, setMarqueeHandler, setMinimumMove, setModel, setMoveable, setPortsVisible, setScale, setSelectionCell, setSelectionCells, setSelectionModel, setSelectNewCells, setSizeable, setTolerance, setUI, snap, snap, startEditingAtCell, stopEditing, toScreen, toScreen, updateAutoSize, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.accessibility.Accessible |
getAccessibleContext |
Field Detail |
public static final int QDISC_INPUT_HANDLE_WIDTH
public static final int QDISC_INPUT_HANDLE_HEIGHT
public static final int CLASS_INPUT_HANDLE_WIDTH
public static final int CLASS_INPUT_HANDLE_HEIGHT
public static final int SUBCLASS_OUTPUT_HANDLE_WIDTH
public static final int SUBCLASS_OUTPUT_HANDLE_HEIGHT
public static final int CLASSFUL_QDISC_OUTPUT_HANDLE_WIDTH
public static final int CLASSFUL_QDISC_OUTPUT_HANDLE_HEIGHT
public static final int FILTER_HEAD_INPUT_HANDLE_WIDTH
public static final int FILTER_HEAD_INPUT_HANDLE_HEIGHT
public static final int FILTER_ELEMENT_INPUT_HANDLE_WIDTH
public static final int FILTER_ELEMENT_INPUT_HANDLE_HEIGHT
public static final int FILTER_OUTPUT_HANDLE_WIDTH
public static final int FILTER_OUTPUT_HANDLE_HEIGHT
public static final int FILTER_MATCH_HANDLE_WIDTH
public static final int FILTER_MATCH_HANDLE_HEIGHT
public static final int HANDLE_SIZE_COUNT
protected final int[] handleSizes
protected TCEditor tcEditor
Constructor Detail |
public TCGraph()
public TCGraph(org.jgraph.graph.GraphModel model)
public TCGraph(org.jgraph.graph.GraphModel model, org.jgraph.graph.GraphLayoutCache view)
public TCGraph(org.jgraph.graph.GraphModel model, org.jgraph.graph.BasicMarqueeHandler mh)
public TCGraph(org.jgraph.graph.GraphModel model, org.jgraph.graph.GraphLayoutCache view, org.jgraph.graph.BasicMarqueeHandler mh)
Method Detail |
public int getMaxHandleSize()
public void setHandleSize(int index, int size)
index
- index of the handle sizesize
- the new value of the handle sizepublic int getHandleSize(int index)
index
- index of the handle size
public org.jgraph.graph.CellView createView(Object cell, org.jgraph.graph.CellMapper cm)
public TCEditor getTCEditor()
public void setTCEditor(TCEditor tcEditor)
tcEditor
- editor to associate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |