|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgraph.graph.AbstractCellView
org.jgraph.graph.VertexView
cz.cmc.tcgui.TCObjectView
cz.cmc.tcgui.QDiscView
Title: QDiscView
Description: The class superseding views of queuing disciplines. The two direct subclasses are ClasslessQDiscView and ClassfulQDiscView
Copyright: Copyright (c) 2003
Company: CMC Computers
| Nested Class Summary | |
static class |
QDiscView.QDiscEditor
Editor class common to TC Object Views |
static class |
QDiscView.QDiscRenderer
Renderer class common to TC Object Views |
class |
QDiscView.QDiscHandle
Title: class QDiscHandle Description: Basic handle for QDiscs. |
| Nested classes inherited from class cz.cmc.tcgui.TCObjectView |
TCObjectView.TCObjectContainerEntryPlacementContext, TCObjectView.TCObjectEditor, TCObjectView.TCObjectHandle, TCObjectView.TCObjectRenderer |
| Nested classes inherited from class org.jgraph.graph.VertexView |
org.jgraph.graph.VertexView.SizeHandle |
| Field Summary |
| Fields inherited from class cz.cmc.tcgui.TCObjectView |
resizeCursors |
| Fields inherited from class org.jgraph.graph.VertexView |
bounds, groupBounds, renderer |
| Fields inherited from class org.jgraph.graph.AbstractCellView |
allAttributes, attributes, cell, cellEditor, graph, childViews, mapper, parent |
| Constructor Summary | |
QDiscView(Object cell,
TCGraph graph,
org.jgraph.graph.CellMapper mapper)
Creates a new qdisc view. |
|
| Method Summary | |
abstract org.jgraph.graph.GraphCellEditor |
getEditor()
Returns the editor for given component |
org.jgraph.graph.CellHandle |
getHandle(org.jgraph.graph.GraphContext context)
|
void |
resetAutoSizeConstraints(Map map,
boolean min,
boolean max)
Resets autosize constraints |
protected void |
setInitialAttributes(Map map)
Called when the initial attributes are needed. |
| Methods inherited from class cz.cmc.tcgui.TCObjectView |
computeTCObjectContainerEntryInsertionBounds, createIcon, createStaticRenderer, getIcon, getMaximumUsableSize, getMinimumUsableSize, getRenderer, initSizes, isAloneInSelection, resetAutoSizeConstraints, setIcon, updateTCObjectContainerEntryPlacementContext |
| Methods inherited from class org.jgraph.graph.VertexView |
getBounds, getCachedBounds, getCenterPoint, getPerimeterPoint, childUpdated, isConstrainedSizeEvent, setCachedBounds, update, updateGroupBounds |
| Methods inherited from class org.jgraph.graph.AbstractCellView |
getAllAttributes, getAttributes, getBounds, getCell, getDescendantViews, getGraph, getChildViews, getMapper, getModel, getParentView, getRendererComponent, intersects, isLeaf, refresh, removeFromParent, scale, setAttributes, setBounds, translate, updateAllAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QDiscView(Object cell,
TCGraph graph,
org.jgraph.graph.CellMapper mapper)
| Method Detail |
protected void setInitialAttributes(Map map)
setInitialAttributes in class TCObjectViewmap - map attributes should be set topublic abstract org.jgraph.graph.GraphCellEditor getEditor()
getEditor in interface org.jgraph.graph.CellViewgetEditor in class TCObjectViewpublic org.jgraph.graph.CellHandle getHandle(org.jgraph.graph.GraphContext context)
getHandle in interface org.jgraph.graph.CellViewgetHandle in class TCObjectViewcontext - GraphContext (cell-view) the handle is created for
public void resetAutoSizeConstraints(Map map,
boolean min,
boolean max)
resetAutoSizeConstraints in class TCObjectViewmap - map to save changes tomin - whether to reset `minimum' constraintmax - whether to reset `maximum' constraint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||