|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sage.accpac.sm.ViewFieldPresentationList
@ThreadSafe public final class ViewFieldPresentationList
Provides access to the presentation list that is exposed by a field in a Sage
Accpac view. You can get an instance of this class by calling
ViewField.getPresentationList(). An instance of this class represents
the presentation list at the time you make that call; it does not change
dynamically to reflect anything happening in the view.
| Method Summary | |
|---|---|
int |
getCount()
Gets the number of presentation items defined in the list |
java.lang.String |
getFieldString()
Gets the display string defined for the current field value |
ViewField |
getParent()
Field object to which the presentation list belongs |
java.lang.String |
getPredefinedString(int index)
Gets the predefined display string of a presentation item according to the zero-base index in the list. |
java.lang.Object |
getPredefinedValue(int index)
Gets the predefined value of a presentation item according to the zero-based index in the list. |
void |
refresh()
Refreshes the presentation list from the underlying view. |
int |
setFieldValue(int index)
Sets the current field value as the predefined value of the specified presentation item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getCount()
public java.lang.String getFieldString()
public ViewField getParent()
public java.lang.String getPredefinedString(int index)
index - the zero-based index that identifies the presentation itempublic java.lang.Object getPredefinedValue(int index)
index - the zero-based index that identifies the presentation itempublic void refresh()
public int setFieldValue(int index)
index - The zero-based index that identifies the presentation item in
the list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||