/* * Decompiled with CFR 0.152. */ package javax.baja.util; import javax.baja.sys.BBoolean; import javax.baja.sys.BComponent; import javax.baja.sys.BFacets; import javax.baja.sys.BIcon; import javax.baja.sys.BValue; import javax.baja.sys.Property; import javax.baja.sys.Sys; import javax.baja.sys.Type; import javax.baja.util.BWsAnnotation; /* * Illegal identifiers - consider using --renameillegalidents true */ public class BWsTextBlock extends BComponent { public static final Property text = BWsTextBlock.newProperty(0, "", BFacets.make("multiLine", BBoolean.TRUE)); public static final Property foreground = BWsTextBlock.newProperty(0, "#ff000000", BFacets.make("fieldEditor", "wbutil:ColorFE")); public static final Property background = BWsTextBlock.newProperty(0, "#00000000", BFacets.make("fieldEditor", "wbutil:ColorFE")); public static final Property font = BWsTextBlock.newProperty(0, "12pt Arial", BFacets.make("fieldEditor", "workbench:FontFE")); public static final Property border = BWsTextBlock.newProperty(0, false, null); public static final Property selectable = BWsTextBlock.newProperty(0, true, null); public static final Property wsAnnotation = BWsTextBlock.newProperty(1, BWsAnnotation.make(1, 1, 20, 2), null); public static final Type TYPE; private static final BIcon icon; static /* synthetic */ Class class$javax$baja$util$BWsTextBlock; public String getText() { return this.getString(text); } public void setText(String string) { this.setString(text, string, null); } public String getForeground() { return this.getString(foreground); } public void setForeground(String string) { this.setString(foreground, string, null); } public String getBackground() { return this.getString(background); } public void setBackground(String string) { this.setString(background, string, null); } public String getFont() { return this.getString(font); } public void setFont(String string) { this.setString(font, string, null); } public boolean getBorder() { return this.getBoolean(border); } public void setBorder(boolean bl) { this.setBoolean(border, bl, null); } public boolean getSelectable() { return this.getBoolean(selectable); } public void setSelectable(boolean bl) { this.setBoolean(selectable, bl, null); } public BWsAnnotation getWsAnnotation() { return (BWsAnnotation)this.get(wsAnnotation); } public void setWsAnnotation(BWsAnnotation bWsAnnotation) { this.set(wsAnnotation, (BValue)bWsAnnotation, null); } public Type getType() { return TYPE; } public BIcon getIcon() { return icon; } static /* synthetic */ Class class(String string, boolean bl) { try { Class clazz = Class.forName(string); if (!bl) { clazz = clazz.getComponentType(); } return clazz; } catch (ClassNotFoundException classNotFoundException) { throw new NoClassDefFoundError(classNotFoundException.getMessage()); } } static { Class clazz = class$javax$baja$util$BWsTextBlock; if (clazz == null) { clazz = class$javax$baja$util$BWsTextBlock = BWsTextBlock.class("[Ljavax.baja.util.BWsTextBlock;", false); } TYPE = Sys.loadType(clazz); icon = BIcon.std("text.png"); } }