|
JClass 4.5.0 API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
List of the public API's that make up a JClass Field bean
Field Summary | |
static int |
INVALID
|
static int |
UNDEREDIT
|
static int |
VALID
|
Method Summary | |
void |
addValueListener(com.klg.jclass.util.value.JCValueListener listener)
Adds a listener for changes to the value. |
void |
commitEdit()
Commits the current field under edit. |
DataProperties |
getDataProperties()
Returns the DataProperties which contains the validator, value model, and invalid proeprties. |
JCInvalidInfo |
getInvalidInfo()
Return the Invalid properties. |
boolean |
getSelectOnEnter()
Returns a flag indicating the selection status on entering the field. |
int |
getState()
Returns the state of the component VALID, INVALID, or UNDER_EDIT |
JCValidator |
getValidator()
Returns the validator currently in use. |
Object |
getValue()
Returns the value for the text field |
com.klg.jclass.util.value.JCValueModel |
getValueModel()
Returns the data model being used by the field. |
boolean |
isRequired()
Return whether this is a required field or not |
void |
removeValueListener(com.klg.jclass.util.value.JCValueListener listener)
Removes a listener for changes to the value. |
void |
setDataProperties(DataProperties dp)
Sets the validator, value model, and invalid properties. |
void |
setInvalidInfo(JCInvalidInfo info)
Set the Invalid properties. |
void |
setRequired(boolean required)
Set whether this is a required field or not |
void |
setSelectOnEnter(boolean select)
Sets the flag that determines whether of not the Text Component is automatically selected when the component gains focus. |
void |
setValidator(JCValidator validator)
Sets the validator to use. |
void |
setValue(Object value)
|
void |
setValueModel(com.klg.jclass.util.value.JCValueModel model)
Sets the data model being used by the field. |
Field Detail |
public static final int VALID
public static final int UNDEREDIT
public static final int INVALID
Method Detail |
public Object getValue()
public void setValue(Object value)
public com.klg.jclass.util.value.JCValueModel getValueModel()
JCValueModel
public void setValueModel(com.klg.jclass.util.value.JCValueModel model)
JCValueModel
public JCValidator getValidator()
JCValidator
public void setValidator(JCValidator validator)
JCValidator
public JCInvalidInfo getInvalidInfo()
public void setInvalidInfo(JCInvalidInfo info)
public void setDataProperties(DataProperties dp)
JCValidator
,
JCValueModel
,
JCInvalidInfo
public DataProperties getDataProperties()
JCValidator
,
JCValueModel
,
JCInvalidInfo
public int getState()
public boolean getSelectOnEnter()
setSelectOnEnter(boolean)
public void setSelectOnEnter(boolean select)
public void commitEdit()
public boolean isRequired()
public void setRequired(boolean required)
public void addValueListener(com.klg.jclass.util.value.JCValueListener listener)
public void removeValueListener(com.klg.jclass.util.value.JCValueListener listener)
|
Copyright© 1999-2000 KL Group Inc. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |