|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mentata.l3d.L3DAttribute
com.mentata.sg8.SG8StringAttribute
A string attribute for use with SG8 objects.
| Field Summary |
| Fields inherited from interface com.mentata.sg8.SG8Attribute |
TEXT_RESOURCES |
| Constructor Summary | |
SG8StringAttribute()
|
|
| Method Summary | |
String[] |
getHTMLValues()
Returns the attribute values formatted for HTML output. |
String |
getHyperlink()
Returns an SG8 gateway hyperlink for displaying the attribute. |
String |
getSeparator()
Returns a separator string to display between values in HTML output. |
protected SG8Object |
getSG8Object()
Returns an empty instance of the containing SG8 object for this attribute. |
String |
getUpdateHTML()
Returns HTML form elements for modifying the attribute. |
boolean |
isAugmenting()
Indicates if the attribute only accepts additional values. |
boolean |
isHTMLExceeded()
Indicates if the number of values for the attribute exceeds the maximum for HTML display. |
boolean |
processUpdateHTML(HttpServletRequest req)
Reads and processes attribute changes from relevant HTML request form parameters. |
void |
setAugmenting()
Configures the attribute to only accept additional values. |
void |
setHTMLThreshold(int threshold)
Sets the maximum number of values to display in HTML output. |
void |
setSeparator(String separator)
Sets the separator string to display between values in HTML output. |
| Methods inherited from class com.mentata.l3d.L3DAttribute |
addValue, compare, getAttribute, getBind, getContext, getLabel, getLengthThreshold, getName, getObject, getObject, getPrerequisites, getShortValues, getSize, getThreshold, getValues, initialize, isBound, isExceeded, isGenerated, isLengthExceeded, isMultivalue, isRequired, removeValue, same, setGenerated, setLabel, setLengthThreshold, setPrerequisites, setThreshold, setValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
equals |
| Constructor Detail |
public SG8StringAttribute()
| Method Detail |
protected SG8Object getSG8Object()
throws SG8Exception
SG8Exception - if the containing object is improperly defined
public String[] getHTMLValues()
throws SG8Exception
getHTMLValues in interface SG8AttributeSG8Exceptionpublic void setHTMLThreshold(int threshold)
setHTMLThreshold in interface SG8Attributethreshold - a maximum number of values to displaypublic boolean isHTMLExceeded()
isHTMLExceeded in interface SG8Attribute
public String getHyperlink()
throws SG8Exception
getHyperlink in interface SG8AttributeSG8Exceptionpublic void setSeparator(String separator)
setSeparator in interface SG8Attributeseparator - a string to display between valuespublic String getSeparator()
getSeparator in interface SG8Attributepublic void setAugmenting()
setAugmenting in interface SG8Attributepublic boolean isAugmenting()
isAugmenting in interface SG8Attribute
public String getUpdateHTML()
throws SG8Exception
getUpdateHTML in interface SG8AttributeSG8Exception - if the attribute is generated
public boolean processUpdateHTML(HttpServletRequest req)
throws SG8Exception
processUpdateHTML in interface SG8Attributereq - a servlet request
SG8Exception - if form values are inappropriate or the attribute is generated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||