|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.BaseFieldAttributes
public class BaseFieldAttributes
Base class of all Field
s.
All the fields of a Field except its value.
Constructor Summary | |
---|---|
BaseFieldAttributes(FieldAttributes other,
boolean nullable)
Create a new BaseFieldAttributes based upon another, overriding its nullability. |
|
BaseFieldAttributes(FieldAttributes other,
PoemType type)
Create a new BaseFieldAttributes based upon another, but overriding its type. |
|
BaseFieldAttributes(FieldAttributes other,
String name)
Create a new BaseFieldAttributes based upon another, overriding its name. |
|
BaseFieldAttributes(FieldAttributes other,
String name,
String description)
Allow the description to vary as well. |
|
BaseFieldAttributes(String name,
PoemType type)
Convenience constructor. |
|
BaseFieldAttributes(String name,
String displayName,
String description,
PoemType type,
int width,
int height,
String renderInfo,
boolean indexed,
boolean userEditable,
boolean userCreateable)
Full Constructor. |
Method Summary | |
---|---|
String |
getDescription()
|
String |
getDisplayName()
|
int |
getHeight()
|
boolean |
getIndexed()
|
String |
getName()
|
String |
getRenderInfo()
|
PoemType |
getType()
|
boolean |
getUserCreateable()
|
boolean |
getUserEditable()
|
int |
getWidth()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseFieldAttributes(String name, String displayName, String description, PoemType type, int width, int height, String renderInfo, boolean indexed, boolean userEditable, boolean userCreateable)
name
- simple namedisplayName
- human readable namedescription
- a short descriptiontype
- the PoemType of the new Fieldwidth
- how wide input widgets should beheight
- how high input widgets should berenderInfo
- the name of a special templet to render this fieldindexed
- whether the Field is indexed.userEditable
- whether users should be able to modify the valueuserCreateable
- whether users should be allowed to create new instancespublic BaseFieldAttributes(String name, PoemType type)
name
- used as the name and, capitalised, the display nametype
- the Poem datatypepublic BaseFieldAttributes(FieldAttributes other, PoemType type)
other
- the FieldAttributes to clonetype
- allows overriding of typepublic BaseFieldAttributes(FieldAttributes other, String name)
other
- the FieldAttributes to clonename
- the new namepublic BaseFieldAttributes(FieldAttributes other, String name, String description)
other
- the FieldAttributes to clonename
- the new namedescription
- the new descriptionpublic BaseFieldAttributes(FieldAttributes other, boolean nullable)
other
- the FieldAttributes to clonenullable
- the new nullabilityMethod Detail |
---|
public String getName()
getName
in interface FieldAttributes
public String getDisplayName()
getDisplayName
in interface FieldAttributes
public String getDescription()
getDescription
in interface FieldAttributes
public PoemType getType()
getType
in interface FieldAttributes
public boolean getIndexed()
getIndexed
in interface FieldAttributes
public boolean getUserEditable()
getUserEditable
in interface FieldAttributes
public boolean getUserCreateable()
getUserCreateable
in interface FieldAttributes
public int getWidth()
getWidth
in interface FieldAttributes
public int getHeight()
getHeight
in interface FieldAttributes
public String getRenderInfo()
getRenderInfo
in interface FieldAttributes
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |