Skip navigation links

Package com.orchestranetworks.addon.dmdv.template.bean

Provides common classes to build a node template.

See: Description

Package com.orchestranetworks.addon.dmdv.template.bean Description

Provides common classes to build a node template.

  1. 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);
      

  2. 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);
      

  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);
      

  4. Example of creating an instance of NodeIndicator:

    NodeIndicator indicator = new NodeIndicator();
    indicator.setOpacity(0.7);
    indicator.setWidth(40);
    indicator.setHeight(40);
      

  5. Example of creating an instance of NodeExpanderButton:

    NodeExpanderButton expander = new NodeExpanderButton();
    expander.setTargetElement(propertyPanel);
    expander.setAlignment(AlignmentType.CENTER);
      

  6. 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}");
      

Skip navigation links

Add-ons Version 4.5.22.

Copyright 2001-2025. Cloud Software Group, Inc. All rights reserved.
All third party product and company names and third party marks mentioned in this document are the property of their respective owners and are mentioned for identification.