/** * Initializes all sections (JPanel's) and Add in Main JPanel of Object. * * @param objectID Enters the identification of object. */ public Imageplot(Integer objectID) { super(objectID); base = new BaseProperties(objectID); data = new DataProperties(objectID); addSectionPanel(this, base, getPosition(base.getName())); addSectionPanel(this, data, getPosition(data.getName())); this.fillerV(getSectionsName()); }
/** * Get the name of all sections. * * @return sections name */ @Override public final String[] getSectionsName() { return new String[] {base.getName(), data.getName()}; }