|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.lang.BooleanData
public class BooleanData
BooleanData is an implementation of BooleanDataInterface, for holding a boolean integer.
The BooleanData container has a bound booleanData property,
so the BooleanData object fires a PropertyChangeEvent when the
object is changed with
setBooleanData(Boolean).
Creating a BooleanData Component
The BooleanData component stores boolean data.
booleanData1.addPropertyChangeListener(listener); booleanData1.setBooleanData(l); ... l = booleanData1.getBooleanData();
| Field Summary | |
|---|---|
static java.lang.String |
RB_KEY
|
| Constructor Summary | |
|---|---|
BooleanData()
Default Constructor |
|
BooleanData(boolean value)
Construct an object with an initial value. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a copy of the current model |
boolean |
equals(BooleanData other)
Tests if this object equals another BooleanData object |
boolean |
equals(java.lang.Object object)
Tests if this object equals another object |
boolean |
getBooleanData()
Retrieves the boolean stored in the boolean model |
static com.sas.beans.ExtendedBeanInfo |
getExtendedBeanInfo()
Returns the ExtendedBeanInfo for this class. |
java.lang.String |
getText()
Retrieves the text value of the model. |
int |
hashCode()
Computes a hash code. |
void |
setBooleanData(boolean value)
Sets the boolean stored in the boolean model. |
void |
setText(java.lang.String string)
Assigns the value of the object from a string value. |
java.lang.String |
toString()
Returns the string representation of the object. |
| Field Detail |
|---|
public static final java.lang.String RB_KEY
| Constructor Detail |
|---|
public BooleanData()
public BooleanData(boolean value)
value - the initial value| Method Detail |
|---|
public static com.sas.beans.ExtendedBeanInfo getExtendedBeanInfo()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface com.sas.PublicClonableclone in class Componentjava.lang.CloneNotSupportedException - if the
object cannot be clonedpublic boolean equals(BooleanData other)
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic boolean getBooleanData()
getBooleanData in interface com.sas.lang.BooleanDataInterfacepublic java.lang.String getText()
getText in interface com.sas.lang.StringDataInterfacepublic int hashCode()
hashCode in class java.lang.Objectpublic void setBooleanData(boolean value)
setBooleanData in interface com.sas.lang.BooleanDataInterfacevalue - boolean valuepublic void setText(java.lang.String string)
setText in interface com.sas.lang.StringDataInterfacestring - a string representation of the text.
java.lang.IllegalArgumentException - if the string
cannot be converted.public java.lang.String toString()
toString in class java.lang.Object
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||