|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sssw.rt.tview.AgoColumnBase | +--com.sssw.rt.tview.AgoColumnForm
AgoColumnForm columns are unbound columns that display an instance of an AgfForm control for each row. They allow you to lay out your components more flexibly. The form code is responsible for moving data between its UI components and the row cursor supplied in the AgiViewForm interface. Such forms should be as lightweight as possible, since one is instantiated for each displayed row.
Considerations
Follow these steps to build an AgoColumnForm:
AgiViewForm
,
AgoColumnForm.setFormClass(String formclass)
Constructor Summary | |
AgoColumnForm()
|
Method Summary | |
String |
getFormClass()
Returns the form class associated with this column |
int |
getHeight()
Returns the height of the form as it is to be displayed in the view. |
Object |
getUserData()
Returns the user supplied data that will be passed to the form. |
void |
setFormClass(String formclass)
Sets the form class to be displayed in this column |
void |
setHeight(int height)
Sets the height of the form as it is to be displayed in the view. |
void |
setUserData(Object userData)
Sets the user-supplied data to be passed to the form. |
Methods inherited from class com.sssw.rt.tview.AgoColumnBase |
getAlignment,
getBackgroundColor,
getBorderType,
getDisplayWidth,
getHidden,
getResizable,
getSelectable,
getTransparent,
getVisible,
getWidth,
isWidthFixed,
setAlignment,
setBackgroundColor,
setBorderType,
setFixedWidth,
setHidden,
setProportionalWidth,
setProportionalWidth,
setResizable,
setSelectable,
setTransparent,
setVisible,
setWidth |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AgoColumnForm()
Method Detail |
public int getHeight()
AgoColumnForm.setHeight(int height)
public void setHeight(int height)
height
- the form's height, in pixelsAgoColumnForm.getHeight()
public String getFormClass()
String formName = myColumnForm.getFormClass();
AgoColumnForm.setFormClass(String formclass)
public void setFormClass(String formclass)
formclass
- the fully qualified path name for the form to display.
The fully qualified name is always com.sssw.gen.forms.formnamemyColumnForm.setForm("com.sssw.gen.forms.myViewForm")
AgoColumnForm.getFormClass()
public final Object getUserData()
AgoColumnForm.setUserData(Object userData)
public final void setUserData(Object userData)
userData
- an Object representing data to pass to the formAgoColumnForm.getUserData()
,
AgiViewForm
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |