Graph Common

pl.psnc.graph.vertex
Class ImageCell

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.jgraph.graph.DefaultGraphCell
          extended by pl.psnc.graph.vertex.ImageCell
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode, org.jgraph.graph.GraphCell

public class ImageCell
extends org.jgraph.graph.DefaultGraphCell

ImageCell class - an extension of default graph cell. The cell is displayed as an image icon.

Author:
Dominik Stoklosa (~osa~)
See Also:
Serialized Form
Email address
osa@man.poznan.pl

Field Summary
 
Fields inherited from class org.jgraph.graph.DefaultGraphCell
attributes
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ImageCell()
          Creates a new instance of ImageVertex
ImageCell(java.lang.Object userObject)
           
 
Method Summary
 boolean isMouseOver()
          Getter for property mouseOver.
 void setMouseOver(boolean mouseOver)
          Setter for property mouseOver.
 
Methods inherited from class org.jgraph.graph.DefaultGraphCell
addPort, addPort, addPort, changeAttributes, clone, getAttributes, getChildren, setAttributes
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageCell

public ImageCell()
Creates a new instance of ImageVertex


ImageCell

public ImageCell(java.lang.Object userObject)
Method Detail

isMouseOver

public boolean isMouseOver()
Getter for property mouseOver.

Returns:
Value of property mouseOver.

setMouseOver

public void setMouseOver(boolean mouseOver)
Setter for property mouseOver.

Parameters:
mouseOver - New value of property mouseOver.

Graph Common

Copyright 2008 by VLAB Dominik Stoklosa