Methods Summary |
---|
public java.lang.String | getJavaInitializationString()
switch(((Number)getValue()).intValue()) {
default:
case YesNoDialog.LEFT: return "oreilly.beans.yesno.YesNoDialog.LEFT";
case YesNoDialog.CENTER: return "oreilly.beans.yesno.YesNoDialog.CENTER";
case YesNoDialog.RIGHT: return "oreilly.beans.yesno.YesNoDialog.RIGHT";
}
|
public java.lang.String[] | getTags()
return new String[] { "left", "center", "right" };
|
public void | setAsText(java.lang.String s)
if (s.equals("left")) setValue(new Integer(YesNoDialog.LEFT));
else if (s.equals("center")) setValue(new Integer(YesNoDialog.CENTER));
else if (s.equals("right")) setValue(new Integer(YesNoDialog.RIGHT));
else throw new IllegalArgumentException(s);
|