Class TypeInfoTreeItem
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.dialogs.types.TypeInfoTreeItem
-
public class TypeInfoTreeItem extends Object
Tree Item forSelectTypeDialog
andSelectTypeEditor
-
-
Constructor Summary
Constructors Constructor Description TypeInfoTreeItem(String caption)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(TypeInfoTreeItem child)
Add child tree itemboolean
equals(Object obj)
String
getCaption()
List<TypeInfoTreeItem>
getChilds()
Get list childs of this tree itemString
getErrorMessage()
int
getOrder()
TypeInfoTreeItem
getParent()
Method returned parent of this tree item.TypeInfo
getType()
int
hashCode()
boolean
isCheckable()
boolean
isChecked()
void
setCheckable(boolean checkable)
Set checkable to tree itemvoid
setChecked(boolean checked)
Set checked to tree itemvoid
setErrorMessage(String errorMessage)
void
setParent(TypeInfoTreeItem parent)
Set parent of this tree itemvoid
setType(TypeInfo type)
Set type info
-
-
-
Constructor Detail
-
TypeInfoTreeItem
public TypeInfoTreeItem(String caption)
-
-
Method Detail
-
addChild
public void addChild(TypeInfoTreeItem child)
Add child tree item- Parameters:
child
-
-
getChilds
public List<TypeInfoTreeItem> getChilds()
Get list childs of this tree item- Returns:
- list childs
-
isChecked
public boolean isChecked()
- Returns:
- true if this item checked in selected type dialog
-
setChecked
public void setChecked(boolean checked)
Set checked to tree item- Parameters:
checked
-
-
isCheckable
public boolean isCheckable()
- Returns:
- true if this tree item can be checked in selected type dialog
-
setCheckable
public void setCheckable(boolean checkable)
Set checkable to tree item- Parameters:
checkable
-
-
getParent
public TypeInfoTreeItem getParent()
Method returned parent of this tree item. Can be null- Returns:
- parent of this item
-
setParent
public void setParent(TypeInfoTreeItem parent)
Set parent of this tree item- Parameters:
parent
-
-
getType
public TypeInfo getType()
- Returns:
- type info that contained this tree item
-
setType
public void setType(TypeInfo type)
Set type info- Parameters:
type
-
-
getCaption
public String getCaption()
- Returns:
- name of tree item if it is virtual
-
getOrder
public int getOrder()
- Returns:
- tree item order identificator
-
getErrorMessage
public String getErrorMessage()
- Returns:
- the errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
- Parameters:
errorMessage
- the errorMessage to set
-
-