|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
org.compiere.model.CTreeNode
public final class CTreeNode
Mutable Tree Node (not a PO).
| Field Summary | |
|---|---|
static Icon[] |
IMAGES
16* 16 Icons |
static int |
TYPE_DOCACTION
Action - 8 |
static int |
TYPE_PROCESS
Process - 3 |
static int |
TYPE_REPORT
Report - 2 |
static int |
TYPE_SETVARIABLE
Variable - 6 |
static int |
TYPE_USERCHOICE
Choice - 7 |
static int |
TYPE_WINDOW
Window - 1 |
static int |
TYPE_WORKBENCH
Workbench - 5 |
static int |
TYPE_WORKFLOW
Workflow - 4 |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
CTreeNode(int node_ID,
int seqNo,
String name,
String description,
int parent_ID,
boolean isSummary,
String imageIndicator,
boolean onBar,
Color color)
Construct Model TreeNode |
|
| Method Summary | |
|---|---|
CTreeNode |
findNode(int ID)
Return the Node with ID in list of children |
int |
getAD_Form_ID()
Get Form ID |
int |
getAD_Process_ID()
Get Process ID |
int |
getAD_Task_ID()
Get Task ID |
int |
getAD_Window_ID()
Get Window ID |
int |
getAD_Workbench_ID()
Get Workbench ID |
int |
getAD_Workflow_ID()
Get WorkFlow ID |
Color |
getColor()
Get Color |
String |
getDescription()
Get Description |
Icon |
getIcon()
Get Image Icon |
static Icon |
getIcon(int index)
Get Image Icon |
static int |
getImageIndex(String imageIndicator)
Get Image Indicator/Index |
String |
getImageIndiactor()
Get Image Indicator |
String |
getName()
Get Name |
int |
getNode_ID()
Get Node ID |
int |
getParent_ID()
Return parent |
String |
getSeqNo()
Get SeqNo (Index) as formatted String 0000 for sorting |
boolean |
isForm()
Is Form |
boolean |
isOnBar()
Get Shortcut Bar info |
boolean |
isProcess()
Is Process |
boolean |
isReport()
Is Report |
boolean |
isSummary()
Allow children to be added to this node |
boolean |
isTask()
Is Task |
boolean |
isWindow()
Is Window |
boolean |
isWorkbench()
Is Workbench |
boolean |
isWorkFlow()
Is Workflow |
void |
setAD_Form_ID(int formID)
Set Form ID |
void |
setAD_Process_ID(int processID)
Set Process ID |
void |
setAD_Task_ID(int taskID)
Set Task ID |
void |
setAD_Window_ID(int windowID)
Set Window ID |
void |
setAD_Workbench_ID(int workbenchID)
Set Workbench ID |
void |
setAD_Workflow_ID(int workflowID)
Set Workflow ID |
void |
setAllowsChildren(boolean isSummary)
Set Summary (allow children) |
void |
setImageIndicator(String imageIndicator)
Set Image Indicator and Index |
void |
setName(String name)
Set Name |
void |
setSummary(boolean isSummary)
Set Summary (allow children) |
String |
toString()
Print Name |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int TYPE_WINDOW
public static int TYPE_REPORT
public static int TYPE_PROCESS
public static int TYPE_WORKFLOW
public static int TYPE_WORKBENCH
public static int TYPE_SETVARIABLE
public static int TYPE_USERCHOICE
public static int TYPE_DOCACTION
public static Icon[] IMAGES
| Constructor Detail |
|---|
public CTreeNode(int node_ID,
int seqNo,
String name,
String description,
int parent_ID,
boolean isSummary,
String imageIndicator,
boolean onBar,
Color color)
node_ID - nodeseqNo - sequencename - namedescription - descriptionparent_ID - parentisSummary - summaryimageIndicator - image indicatoronBar - on barcolor - color| Method Detail |
|---|
public int getNode_ID()
public int getAD_Window_ID()
public void setAD_Window_ID(int windowID)
int - windowIDpublic int getAD_Process_ID()
public void setAD_Process_ID(int processID)
int - processIDpublic int getAD_Form_ID()
public void setAD_Form_ID(int formID)
int - formIDpublic int getAD_Workflow_ID()
public void setAD_Workflow_ID(int workflowID)
int - workflowIDpublic int getAD_Task_ID()
public void setAD_Task_ID(int taskID)
int - taskIDpublic int getAD_Workbench_ID()
public void setAD_Workbench_ID(int workbenchID)
int - workbenchIDpublic void setName(String name)
name - namepublic String getName()
public String getSeqNo()
public int getParent_ID()
public String toString()
toString in class DefaultMutableTreeNodepublic String getDescription()
public void setSummary(boolean isSummary)
isSummary - summary nodepublic void setAllowsChildren(boolean isSummary)
setAllowsChildren in class DefaultMutableTreeNodeisSummary - true if summarypublic boolean isSummary()
public static int getImageIndex(String imageIndicator)
imageIndicator - image indicator (W/X/R/P/F/T/B) X_AD_WF_Node.ACTION_
public void setImageIndicator(String imageIndicator)
imageIndicator - image indicator (W/X/R/P/F/T/B) X_AD_WF_Node.ACTION_public String getImageIndiactor()
public static Icon getIcon(int index)
index - image index
public Icon getIcon()
public boolean isOnBar()
public boolean isProcess()
public boolean isReport()
public boolean isWindow()
public boolean isWorkbench()
public boolean isWorkFlow()
public boolean isForm()
public boolean isTask()
public Color getColor()
public CTreeNode findNode(int ID)
ID - id
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||