cz.cmc.tcgui
Class FilterEntryView

java.lang.Object
  extended byorg.jgraph.graph.AbstractCellView
      extended byorg.jgraph.graph.VertexView
          extended bycz.cmc.tcgui.TCObjectView
              extended bycz.cmc.tcgui.FilterEntryView
All Implemented Interfaces:
org.jgraph.graph.CellView, Serializable
Direct Known Subclasses:
FilterElementView, FilterView

public abstract class FilterEntryView
extends TCObjectView

Title: FilterEntryView

Description: Class providing view of traffic filter cells.

Copyright: Copyright (c) 2003

Company: CMC Computers

See Also:
Serialized Form

Nested Class Summary
static class FilterEntryView.FilterEntryEditor
          In-place editor.
 class FilterEntryView.FilterEntryHandle
          Title: Class FilterEntryHandle Description: Handle for FilterEntries.
static class FilterEntryView.FilterEntryRenderer
          Renderer class for Filter views
 
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
FilterEntryView(Object cell, TCGraph graph, org.jgraph.graph.CellMapper mapper)
          Creates new FilterView for the cell.
 
Method Summary
abstract  org.jgraph.graph.GraphCellEditor getEditor()
          Returns the editor for given component
abstract  org.jgraph.graph.CellHandle getHandle(org.jgraph.graph.GraphContext context)
           
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, 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

FilterEntryView

public FilterEntryView(Object cell,
                       TCGraph graph,
                       org.jgraph.graph.CellMapper mapper)
Creates new FilterView for the cell.

Method Detail

setInitialAttributes

protected void setInitialAttributes(Map map)
Called when the initial attributes are needed.

Specified by:
setInitialAttributes in class TCObjectView
Parameters:
map - map attributes should be set to

getHandle

public abstract org.jgraph.graph.CellHandle getHandle(org.jgraph.graph.GraphContext context)
Specified by:
getHandle in interface org.jgraph.graph.CellView
Overrides:
getHandle in class TCObjectView
Parameters:
context - GraphContext (cell-view) the handle is created for
Returns:
handle for given context

getEditor

public abstract org.jgraph.graph.GraphCellEditor getEditor()
Returns the editor for given component

Specified by:
getEditor in interface org.jgraph.graph.CellView
Specified by:
getEditor in class TCObjectView