|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.melati.poem.BaseFieldAttributes
public class BaseFieldAttributes
Base class of all Fields.
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 instances
public BaseFieldAttributes(String name,
PoemType type)
name - used as the name and, capitalised, the display nametype - the Poem datatype
public BaseFieldAttributes(FieldAttributes other,
PoemType type)
other - the FieldAttributes to clonetype - allows overriding of type
public BaseFieldAttributes(FieldAttributes other,
String name)
other - the FieldAttributes to clonename - the new name
public BaseFieldAttributes(FieldAttributes other,
String name,
String description)
other - the FieldAttributes to clonename - the new namedescription - the new description
public BaseFieldAttributes(FieldAttributes other,
boolean nullable)
other - the FieldAttributes to clonenullable - the new nullability| Method Detail |
|---|
public String getName()
getName in interface FieldAttributespublic String getDisplayName()
getDisplayName in interface FieldAttributespublic String getDescription()
getDescription in interface FieldAttributespublic PoemType getType()
getType in interface FieldAttributespublic boolean getIndexed()
getIndexed in interface FieldAttributespublic boolean getUserEditable()
getUserEditable in interface FieldAttributespublic boolean getUserCreateable()
getUserCreateable in interface FieldAttributespublic int getWidth()
getWidth in interface FieldAttributespublic int getHeight()
getHeight in interface FieldAttributespublic String getRenderInfo()
getRenderInfo in interface FieldAttributes
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||