|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.portal.servlet.attribute.Attribute
public final class Attribute
| Constructor Summary | |
|---|---|
|
Attribute()
|
|
Attribute(int locale,
ValuedField field,
AttributeValue attributeValue)
|
protected |
Attribute(String label,
String toolTip,
int spanRow,
List eventHandler,
AttributeValue value)
|
| Method Summary | |
|---|---|
List |
getEventHandler()
|
String |
getLabel()
|
String |
getName()
|
int |
getSpanRow()
|
String |
getStringifiedValue(HtmlPage p,
boolean forEditing,
boolean shortFormat)
|
String |
getToolTip()
|
AttributeValue |
getValue()
|
boolean |
isEmpty()
An empty attribute should be skipped by the rendering. |
void |
paintForEdit(HtmlPage p,
org.openmdx.base.accessor.jmi.cci.RefObject_1_0 lookupObject,
int nCols,
int tabIndex,
String rowSpanModifier,
String readonlyModifier,
String disabledModifier,
String lockedModifier,
String stringifiedValue)
Paints the attribute to page. |
void |
paintForEdit(HtmlPage p,
String id,
String label,
org.openmdx.base.accessor.jmi.cci.RefObject_1_0 lookupObject,
int nCols,
int tabIndex,
String rowSpanModifier,
String readonlyModifier,
String disabledModifier,
String lockedModifier,
String stringifiedValue)
Paints the attribute to page. |
void |
paintForShow(HtmlPage p,
int nCols,
String gapModifier,
String styleModifier,
String widthModifier,
String rowSpanModifier,
String stringifiedValue)
Paints the attribute to page. |
void |
paintForShow(HtmlPage p,
String label,
int nCols,
String gapModifier,
String styleModifier,
String widthModifier,
String rowSpanModifier,
String stringifiedValue)
Paints the attribute to page. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Attribute(int locale,
ValuedField field,
AttributeValue attributeValue)
protected Attribute(String label,
String toolTip,
int spanRow,
List eventHandler,
AttributeValue value)
public Attribute()
| Method Detail |
|---|
public boolean isEmpty()
public String getLabel()
public String getToolTip()
public AttributeValue getValue()
public String getName()
public int getSpanRow()
public List getEventHandler()
public String toString()
toString in class Object
public String getStringifiedValue(HtmlPage p,
boolean forEditing,
boolean shortFormat)
public void paintForShow(HtmlPage p,
int nCols,
String gapModifier,
String styleModifier,
String widthModifier,
String rowSpanModifier,
String stringifiedValue)
throws org.openmdx.base.exception.ServiceException
p - target pagenCols - column spangapModifier - gap modifier before attribute-specific code is generated. null if forEditing==truestyleModifier - style tag for generated element. null if forEditing==truewidthModifier - width tag for generated element. null if forEditing==truerowSpanModifier - row span modifierstringifiedValue - stringified value of field
org.openmdx.base.exception.ServiceException
public void paintForShow(HtmlPage p,
String label,
int nCols,
String gapModifier,
String styleModifier,
String widthModifier,
String rowSpanModifier,
String stringifiedValue)
throws org.openmdx.base.exception.ServiceException
p - target pagelabel - attribute label. null for default label, i.e. this.getValue().getLabel()nCols - column spangapModifier - gap modifier before attribute-specific code is generated. null if forEditing==truestyleModifier - style tag for generated element. null if forEditing==truewidthModifier - width tag for generated element. null if forEditing==truerowSpanModifier - row span modifierstringifiedValue - stringified value of field
org.openmdx.base.exception.ServiceException
public void paintForEdit(HtmlPage p,
org.openmdx.base.accessor.jmi.cci.RefObject_1_0 lookupObject,
int nCols,
int tabIndex,
String rowSpanModifier,
String readonlyModifier,
String disabledModifier,
String lockedModifier,
String stringifiedValue)
throws org.openmdx.base.exception.ServiceException
p - target pagelookupObject - optinal base object where object lookup starts from. null if forEditing==falsenCols - column spantabIndex - tab index of generated input field.rowSpanModifier - row span modifierreadonlyModifier - readonly modifier.disabledModifier - disabled modifier.lockedModifier - modifier to lock field.stringifiedValue - stringified value of field
org.openmdx.base.exception.ServiceException
public void paintForEdit(HtmlPage p,
String id,
String label,
org.openmdx.base.accessor.jmi.cci.RefObject_1_0 lookupObject,
int nCols,
int tabIndex,
String rowSpanModifier,
String readonlyModifier,
String disabledModifier,
String lockedModifier,
String stringifiedValue)
throws org.openmdx.base.exception.ServiceException
p - target pageid - optional input field id. null for default idlabel - attribute label. null for default label, i.e. this.getValue().getLabel()lookupObject - optinal base object where object lookup starts from. null if forEditing==falsenCols - column spantabIndex - tab index of generated input field.rowSpanModifier - row span modifierreadonlyModifier - readonly modifier.disabledModifier - disabled modifier.lockedModifier - modifier to lock field.stringifiedValue - stringified value of field
org.openmdx.base.exception.ServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||