|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.treeoperationview.TreeObject
public class TreeObject
Stores additional information to tree-entries
| Field Summary | |
|---|---|
static int |
CORRECT
Correctness: correct |
static int |
INCORRECT
Correctness: incorrect |
static int |
INIT
Operation is a init-operation |
static int |
initialCorrectness
Defines the initial correctness |
static int |
NORMAL
Operation is a normal-operation, which means that there is no identification if it is a init- or todo-operation |
static int |
TODO
Operation is a todo-operation |
static int |
UNDEFINED
Correctness undefined |
| Constructor Summary | |
|---|---|
TreeObject(SimpleOperation so)
Creates a TreeObject |
|
| Method Summary | |
|---|---|
int |
getCorrectness()
Gets the correctness |
javax.swing.tree.DefaultMutableTreeNode |
getNode()
Gets the associated TreeNode |
SimpleOperation |
getOperation()
Gets the operation |
int |
getState()
Gets the state of the TreeObject |
boolean |
isActual()
Test if this node is actual |
boolean |
isProcessing()
Test if this node is processed |
void |
setActual(boolean b)
Sets if this node is the actual node, or not. |
void |
setCorrectness(int c)
Sets the correctness |
void |
setNode(javax.swing.tree.DefaultMutableTreeNode n)
Sets the associated TreeNode |
void |
setProcessing(boolean b)
Sets if this node is the actual processed node, or not. |
void |
setState(int s)
Sets the state of the TreeObject |
void |
setText(java.lang.String text)
Sets the to displayed text. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int UNDEFINED
public static final int CORRECT
public static final int INCORRECT
public static int initialCorrectness
public static final int NORMAL
public static final int INIT
public static final int TODO
| Constructor Detail |
|---|
public TreeObject(SimpleOperation so)
so - The associated operation| Method Detail |
|---|
public void setText(java.lang.String text)
text - public void setNode(javax.swing.tree.DefaultMutableTreeNode n)
n - TreeNodepublic javax.swing.tree.DefaultMutableTreeNode getNode()
public void setState(int s)
s - state-idmauda.treeoperationview,
mauda.treeoperationview,
mauda.treeoperationviewpublic int getState()
public java.lang.String toString()
toString in class java.lang.Objectpublic SimpleOperation getOperation()
public void setActual(boolean b)
b - true if this is the actual node, false otherwisepublic boolean isActual()
public void setProcessing(boolean b)
b - true if this is the actual node, false otherwisepublic boolean isProcessing()
public void setCorrectness(int c)
c - correctness-IDmauda.treeoperationview,
mauda.treeoperationview,
mauda.treeoperationviewpublic int getCorrectness()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||