See: Description
| Class | Description |
|---|---|
| NodeDataTable |
Defines a data table that displays data in a tabular form.
|
| NodeElement |
Represents a node element.
|
| NodeExpanderButton |
Represents a button used to expand or collapse an element.
|
| NodeImage |
Represents an image element.
|
| NodeIndicator |
Represents an image for indicator.
|
| NodePanel |
Defines an element that holds other elements.
|
| NodeTemplate |
Represents a node template that is a composition of elements and properties.
|
| NodeTextBlock |
Represents a text block that displays a text string in a given font size.
|
| Enum | Description |
|---|---|
| AlignmentType |
Represents an element's relative position in relation to another element.
|
| BorderStyle |
Defines the panel's border style.
|
| MarginType |
Represents the element's relative position in relation to another element.
|
| NodeElementType |
Defines the type of elements that can be used in a node.
|
| PanelLayout |
Possible panel layouts.
|
| ShapeType |
Possible node shapes.
|
| TextAlignmentType |
Possible text alignment settings.
|
Example of creating an instance of NodeTemplate:
NodeTemplate template = new NodeTemplate(); template.setShapeType(ShapeType.RECTANGLE); NodePanel rootPanel = new NodePanel(); rootPanel.setContentAlignment(AlignmentType.MIDDLE_LEFT); rootPanel.setPanelLayout(PanelLayout.HORIZONTAL); rootPanel.setWidth(200); rootPanel.setMargin(MarginType.TOP, 3); template.setPanel(rootPanel);
Example of creating an instance of NodeImage:
NodeImage avatar = new NodeImage();
avatar.setBindingSource("${/Picture/attachment}");
avatar.setOpacity(0.7);
avatar.setWidth(60);
avatar.setHeight(60);
avatar.setMargin(MarginType.RIGHT, 3);
Example of creating an instance of NodeTextBlock:
NodeTextBlock textBlock = new NodeTextBlock();
textBlock.setBindingText("${/Civilstatus}. ${/Firstname} ${/Lastname}");
textBlock.setTextAlign(TextAlignmentType.LEFT);
textBlock.setFontSize(17);
labelPanel.addElement(textBlock);
Example of creating an instance of NodeIndicator:
NodeIndicator indicator = new NodeIndicator(); indicator.setOpacity(0.7); indicator.setWidth(40); indicator.setHeight(40);
Example of creating an instance of NodeExpanderButton:
NodeExpanderButton expander = new NodeExpanderButton(); expander.setTargetElement(propertyPanel); expander.setAlignment(AlignmentType.CENTER);
Example of creating an instance of NodeDataTable:
NodeDataTable dataTablePanel = new NodeDataTable();
dataTablePanel.setNumberOfColumns(2);
dataTablePanel.setColumnsWidth(new int[] { 55, 140 });
dataTablePanel.setRowSeparatorColor("#808080");
dataTablePanel.addRowData("Name", "${/name}");
dataTablePanel.addRowData("Title", "${/title}");