CubeTwister 2.0alpha142 2012-02-11

ch.randelshofer.cubetwister.doc
Class CubeStickerModel

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by ch.randelshofer.cubetwister.doc.EntityModel
          extended by ch.randelshofer.cubetwister.doc.CubeStickerModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.event.UndoableEditListener, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class CubeStickerModel
extends EntityModel

Model for the properties of a cube part.

Version:
1.1 2010-01-01 Handle property changes of the CubeColorModel.
1.0 2001-10-12
Author:
Werner Randelshofer
See Also:
Serialized Form

Field Summary
static java.lang.String PROP_FILL_COLOR
           
static java.lang.String PROP_NAME
           
static java.lang.String PROP_VISIBLE
           
 
Fields inherited from class ch.randelshofer.cubetwister.doc.EntityModel
PROP_CHILD_COUNT
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
CubeStickerModel()
          Creates new CubeStickerModel
 
Method Summary
 void basicSetFillColorModel(CubeColorModel newValue)
           
 void basicSetVisible(boolean value)
           
 CubeColorModel getFillColorModel()
           
 java.lang.String getName()
          Gets the name property.
 boolean isVisible()
           
 void removeNotify(EntityModel m)
           
 void setFillColorModel(CubeColorModel value)
           
 void setName(java.lang.String value)
          Sets the name property.
 void setVisible(boolean value)
           
 
Methods inherited from class ch.randelshofer.cubetwister.doc.EntityModel
addPropertyChangeListener, children, clone, dispose, fireNodeChanged, fireNodeStructureChanged, firePropertyChange, firePropertyChange, firePropertyChange, fireUndoableEditHappened, getDocument, hasPropertyListeners, insert, isDefaultCube, isDefaultNotation, isRemovable, remove, removePropertyChangeListener, setRemovable, toString, undoableEditHappened
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, 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, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROP_NAME

public static final java.lang.String PROP_NAME
See Also:
Constant Field Values

PROP_VISIBLE

public static final java.lang.String PROP_VISIBLE
See Also:
Constant Field Values

PROP_FILL_COLOR

public static final java.lang.String PROP_FILL_COLOR
See Also:
Constant Field Values
Constructor Detail

CubeStickerModel

public CubeStickerModel()
Creates new CubeStickerModel

Method Detail

getName

public java.lang.String getName()
Gets the name property.


setName

public void setName(java.lang.String value)
Sets the name property.


isVisible

public boolean isVisible()

basicSetVisible

public void basicSetVisible(boolean value)

setVisible

public void setVisible(boolean value)

getFillColorModel

public CubeColorModel getFillColorModel()

basicSetFillColorModel

public void basicSetFillColorModel(CubeColorModel newValue)

setFillColorModel

public void setFillColorModel(CubeColorModel value)

removeNotify

public void removeNotify(EntityModel m)

(c) Werner Randelshofer.
All rights reserved.