|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.beans.selectors.ComponentContext
This class contains information about the context for the ComponentDelegate. Specifically, it tells the ComponentDelegate if the mode is VIEW, CREATE, or UPDATE, allowing the delegate to construct an appropriate widget based on the mode.
Field Summary | |
private static String |
CLASSNAME
|
private Container |
container
|
static int |
CREATE_MODE
|
static int |
DEFAULT_MAX_TEXT_FIELD_LENGTH
|
private int |
maxTextFieldLength
|
private int |
mode
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static int |
UPDATE_MODE
|
private static String |
versionID
|
static int |
VIEW_MODE
|
Constructor Summary | |
ComponentContext()
|
Method Summary | |
Container |
getContainer()
Gets the value of the attribute: container. |
int |
getMaxTextFieldLength()
Gets the value of the attribute: maxTextFieldLength. |
int |
getMode()
Gets the value of the attribute: mode. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private void |
readOldVersion(ObjectInput input,
long readSerialVersionUID)
Reads the non-transient fields of this class from an external source, which is not the current version. |
void |
setContainer(Container a_Container)
Sets the value of the attribute: container. |
void |
setMaxTextFieldLength(int a_MaxTextFieldLength)
Sets the value of the attribute: maxTextFieldLength. |
void |
setMode(int a_Mode)
Sets the value of the attribute: mode. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String versionID
static final long serialVersionUID
private int mode
private Container container
public static final int UPDATE_MODE
public static final int CREATE_MODE
public static final int VIEW_MODE
private int maxTextFieldLength
public static final int DEFAULT_MAX_TEXT_FIELD_LENGTH
Constructor Detail |
public ComponentContext()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
private void readOldVersion(ObjectInput input, long readSerialVersionUID) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
-
IOException
ClassNotFoundException
public int getMode()
public void setMode(int a_Mode) throws WTPropertyVetoException
a_Mode
-
WTPropertyVetoException
public Container getContainer()
public void setContainer(Container a_Container) throws WTPropertyVetoException
a_Container
-
WTPropertyVetoException
public int getMaxTextFieldLength()
public void setMaxTextFieldLength(int a_MaxTextFieldLength) throws WTPropertyVetoException
a_MaxTextFieldLength
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |