2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2013 - Marcos Cardinot
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
12 package org.scilab.modules.gui.ged.graphic_objects.arc;
14 import org.scilab.modules.gui.ged.graphic_objects.SimpleObject;
17 * Properties of the legend.
18 * @author Marcos CARDINOT <mcardinot@gmail.com>
20 public class Arc extends SimpleObject {
21 private BaseProperties base;
22 private DataProperties data;
26 * Initializes all sections (JPanel's) and Add in Main JPanel of Object.
27 * @param objectID Enters the identification of object.
29 public Arc(String objectID) {
31 base = new BaseProperties(objectID);
32 data = new DataProperties(objectID);
33 style = new Style(objectID);
34 addSectionPanel(this, base, getPosition(base.getName()));
35 addSectionPanel(this, data, getPosition(data.getName()));
36 addSectionPanel(this, style, getPosition(style.getName()));
37 this.fillerV(getSectionsName());
41 * Get the name of all sections.
42 * @return sections name
45 public final String[] getSectionsName() {