Exemplo n.º 1
0
 /**
  * Method for getting a Panel by index reference
  *
  * @param index The index of the object
  * @return The object with the given index
  */
 public GPropertiesPanel getPanel(int index) {
   return (GPropertiesPanel) objects.get(index);
 }
Exemplo n.º 2
0
 /**
  * Method for removing a Panel by index reference
  *
  * @param index The index of the object to remove
  */
 public void removePanel(int index) {
   pane.remove((GPropertiesPanel) objects.get(index));
   objects.remove(index);
 }