|
CubeTwister 2.0alpha142 2012-02-11 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
ch.randelshofer.cubetwister.doc.EntityModel
ch.randelshofer.cubetwister.doc.InfoModel
ch.randelshofer.cubetwister.doc.CubeColorModel
public class CubeColorModel
Holds a single color value. CubeColorModel is a child of CubeColorsModel.
| Field Summary | |
|---|---|
static java.lang.String |
PROP_COLOR
|
| Fields inherited from class ch.randelshofer.cubetwister.doc.InfoModel |
|---|
author, date, description, name, PROP_AUTHOR, PROP_DATE, PROP_DESCRIPTION, PROP_NAME |
| 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 | |
|---|---|
CubeColorModel()
Creates new CubeColorModel |
|
CubeColorModel(java.lang.String name,
java.awt.Color color)
Creates new CubeColorModel |
|
| Method Summary | |
|---|---|
void |
basicSetColor(java.awt.Color value)
|
java.awt.Color |
getColor()
|
void |
read(DOMInput in)
|
void |
setColor(java.awt.Color value)
|
void |
write(DOMOutput out)
|
| Methods inherited from class ch.randelshofer.cubetwister.doc.InfoModel |
|---|
basicSetAuthor, basicSetDate, basicSetDescription, basicSetName, clone, dispose, getAuthor, getAuthorDocument, getDate, getDateDocument, getDescription, getDescriptionDocument, getName, getNameDocument, getUserObject, setAuthor, setDate, setDescription, setName, setUserObject, toString, undoableEditHappened |
| Methods inherited from class ch.randelshofer.cubetwister.doc.EntityModel |
|---|
addPropertyChangeListener, children, fireNodeChanged, fireNodeStructureChanged, firePropertyChange, firePropertyChange, firePropertyChange, fireUndoableEditHappened, getDocument, hasPropertyListeners, insert, isDefaultCube, isDefaultNotation, isRemovable, remove, removePropertyChangeListener, setRemovable |
| 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, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROP_COLOR
| Constructor Detail |
|---|
public CubeColorModel()
public CubeColorModel(java.lang.String name,
java.awt.Color color)
| Method Detail |
|---|
public java.awt.Color getColor()
public void setColor(java.awt.Color value)
public void basicSetColor(java.awt.Color value)
public void read(DOMInput in)
read in interface DOMStorablepublic void write(DOMOutput out)
write in interface DOMStorable
|
(c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||