예제 #1
0
  /**
   * Add all the properties in this section.
   *
   * @param objectID uid
   */
  @Override
  public final void initComponents(Integer objectID) {
    String[] messageOffOn = new String[] {MessagesGED.off, MessagesGED.on};
    int row = 0;
    final int leftmargin = 16; // to inner components
    int column = 0; // first column

    // Components of the property: Tag.
    graphicObject.tag(sectionPanel, row++, column, leftmargin, objectID);

    // Components of the property: Text
    label.text(sectionPanel, row++, column, leftmargin, objectID);

    // Components of the property: Visible.
    graphicObject.visible(sectionPanel, row++, column, leftmargin, objectID);
  }
예제 #2
0
  /**
   * Add all the properties in this section.
   *
   * @param objectID uid
   */
  @Override
  public final void initComponents(Integer objectID) {
    String[] messageOffOn = new String[] {MessagesGED.off, MessagesGED.on};
    int row = 0;
    final int leftmargin = 16; // to inner components
    int column = 0; // first column

    // Components of the property: Line Mode.
    contouredObject.lineMode(sectionPanel, row++, column, leftmargin, objectID);

    // Components of the property: Fill Mode.
    contouredObject.fillMode(sectionPanel, row++, column, leftmargin, objectID);

    // Components of the property: Visible.
    graphicObject.visible(sectionPanel, row++, column, leftmargin, objectID);
  }