|
||||||||||
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.FilterEntryView
cz.cmc.tcgui.FilterElementView
Title: class FilterElementView
Description: Graph view of filter heads
Copyright: Copyright (c) 2003
Company: CMC Computers
Nested Class Summary | |
static class |
FilterElementView.FilterElementEditor
In-place editor. |
class |
FilterElementView.FilterElementHandle
Title: class FilterElementHandle Description: Handle for filter elements. |
static class |
FilterElementView.FilterElementRenderer
Filter head view renderer. |
Nested classes inherited from class cz.cmc.tcgui.FilterEntryView |
FilterEntryView.FilterEntryEditor, FilterEntryView.FilterEntryHandle, FilterEntryView.FilterEntryRenderer |
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 | |
protected static org.jgraph.graph.GraphCellEditor |
filterElementEditor
QDiscs' title editor, created lazily. |
protected static Icon |
filterElementIcon
The icon of this kind of FilterElement, should be set lazily since resource managers may not be set properly at the time of class loading. |
protected static FilterElementView.FilterElementRenderer |
filterElementRenderer
Classless QDisc renderer, created lazily by the superclass using the createQDiscRenderer() method. |
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 | |
FilterElementView(Object cell,
TCGraph graph,
org.jgraph.graph.CellMapper mapper)
Creates new FilterElementView |
Method Summary | |
protected void |
createStaticRenderer()
Creates the static view renderer for this filter entry type if it was not been created already. |
org.jgraph.graph.GraphCellEditor |
getEditor()
Returns the editor for this qdisc type. |
org.jgraph.graph.CellHandle |
getHandle(org.jgraph.graph.GraphContext context)
|
protected Icon |
getIcon()
Gets the static icon of this QDisc class. |
org.jgraph.graph.CellViewRenderer |
getRenderer()
Returns the renderer for this filter entry type. |
void |
resetAutoSizeConstraints(Map map,
boolean min,
boolean max)
Resets autosize constraints |
protected void |
setIcon(Icon icon)
Sets the static icon of this filter entry class. |
protected void |
setInitialAttributes(Map map)
Called when the initial attributes are needed. |
Methods inherited from class cz.cmc.tcgui.TCObjectView |
computeTCObjectContainerEntryInsertionBounds, createIcon, getMaximumUsableSize, getMinimumUsableSize, initSizes, isAloneInSelection, resetAutoSizeConstraints, 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 |
Field Detail |
protected static Icon filterElementIcon
protected static FilterElementView.FilterElementRenderer filterElementRenderer
protected static org.jgraph.graph.GraphCellEditor filterElementEditor
Constructor Detail |
public FilterElementView(Object cell, TCGraph graph, org.jgraph.graph.CellMapper mapper)
Method Detail |
protected void setInitialAttributes(Map map)
setInitialAttributes
in class FilterEntryView
protected void createStaticRenderer()
createStaticRenderer
in class TCObjectView
public org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer
in class TCObjectView
public org.jgraph.graph.GraphCellEditor getEditor()
getEditor
in interface org.jgraph.graph.CellView
getEditor
in class FilterEntryView
public org.jgraph.graph.CellHandle getHandle(org.jgraph.graph.GraphContext context)
getHandle
in interface org.jgraph.graph.CellView
getHandle
in class FilterEntryView
context
- GraphContext (cell-view) the handle is created for
protected void setIcon(Icon icon)
setIcon
in class TCObjectView
icon
- icon to setprotected Icon getIcon()
getIcon
in class TCObjectView
public void resetAutoSizeConstraints(Map map, boolean min, boolean max)
resetAutoSizeConstraints
in class TCObjectView
map
- 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 |