4 * Created on March 29, 2008, 2:45 AM
6 * To change this template, choose Tools | Template Manager
7 * and open the template in the editor.
10 package javaapplication1;
16 public class GuiComponent {
18 /** Creates a new instance of GuiComponent */
19 public GuiComponent(String name, String[] property, String type, String label, String defaultVal) {
21 this.property = property;
24 this.value = defaultVal;
27 private String[] property;
33 * Holds value of property name.
38 * Getter for property name.
39 * @return Value of property name.
41 public String getName() {
46 * Setter for property name.
47 * @param name New value of property name.
49 public void setName(String name) {
54 * Getter for property property.
55 * @return Value of property property.
57 public String[] getProperty() {
62 * Setter for property property.
63 * @param property New value of property property.
65 public void setProperty(String[] property) {
66 this.property = property;
70 * Getter for property type.
71 * @return Value of property type.
73 public String getType() {
78 * Setter for property type.
79 * @param type New value of property type.
81 public void setType(String type) {
86 * Getter for property label.
87 * @return Value of property label.
89 public String getLabel() {
94 * Setter for property label.
95 * @param label New value of property label.
97 public void setLabel(String label) {
102 * Getter for property value.
104 * @return Value of property value.
106 public String getValue() {
111 * Setter for property value.
113 * @param value New value of property value.
115 public void setValue(String defaultVal) {
116 this.value = defaultVal;