IconTypepublic class IconType extends org.netbeans.modules.schema2beans.BaseBean This generated bean class IconType matches the schema element iconType
===============================================================
The icon type contains small-icon and large-icon elements
that specify the file names for small and large GIF or
JPEG icon images used to represent the parent element in a
GUI tool.
The xml:lang attribute defines the language that the
icon file names are provided in. Its value is "en" (English)
by default.
===============================================================
Generated on Fri Apr 22 15:43:00 PDT 2005 |
Fields Summary |
---|
static Vector | comparators | public static final String | SMALL_ICON | public static final String | LARGE_ICON |
Constructors Summary |
---|
public IconType() // NOI18N
this(Common.USE_DEFAULT_VALUES);
| public IconType(int options)
super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
// Properties (see root bean comments for the bean graph)
this.createProperty("small-icon", // NOI18N
SMALL_ICON,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
java.lang.String.class);
this.createProperty("large-icon", // NOI18N
LARGE_ICON,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
java.lang.String.class);
this.initialize(options);
|
Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
| public void | dump(java.lang.StringBuffer str, java.lang.String indent)
String s;
Object o;
org.netbeans.modules.schema2beans.BaseBean n;
str.append(indent);
str.append("SmallIcon"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getSmallIcon();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(SMALL_ICON, 0, str, indent);
str.append(indent);
str.append("LargeIcon"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getLargeIcon();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(LARGE_ICON, 0, str, indent);
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("IconType\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getLargeIcon()
return (java.lang.String)this.getValue(LARGE_ICON);
| public java.lang.String | getSmallIcon()
return (java.lang.String)this.getValue(SMALL_ICON);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setLargeIcon(java.lang.String value)
this.setValue(LARGE_ICON, value);
| public void | setSmallIcon(java.lang.String value)
this.setValue(SMALL_ICON, value);
| public void | validate()
|
|