|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbutler.client.form.DForm
butler.client.form.DListForm
public class DListForm
A form containing a query panel on top and below a record list table that shows the search result. The table can be used for editing and creating records. If a detail form is supplied, that form will be used for editing single record when they are selected.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class butler.client.form.DForm |
---|
DForm.Parser |
Constructor Summary | |
---|---|
DListForm()
|
|
DListForm(Table tab)
Constructs a list form descriptor using the given table. |
Method Summary | |
---|---|
DDetailForm |
createDetailForm()
Creates a detail form to use when a record is selected. |
java.util.Collection |
getChildren()
|
DDetailForm |
getDetailForm()
Returns the detail form (if exists) used when a record is selected. |
DQueryPanel |
getQueryPanel()
|
DRecordListTable |
getRecordListTable()
Returns a reference to the record list table used in this list form. |
Table |
getTable()
|
boolean |
isInitSearch()
|
boolean |
isMultipleSelection()
|
boolean |
isPaging()
|
boolean |
isQueryPanelVisible()
|
boolean |
isSelectionMode()
Tells if this list form is used for selecting records. |
static DListForm |
parse(org.dom4j.Element element)
|
void |
setInitSearch(boolean initSearch)
|
void |
setMultipleSelection(boolean flag)
Sets wheter multiple selection in the record list should be allowed or not. |
void |
setPaging(boolean flag)
Sets if paging should be used. |
void |
setQuery(Query q)
Sets the query that will be used to build the query panel. |
void |
setQueryPanel(DQueryPanel panel)
Sets the query panel for this list form. |
void |
setQueryPanelVisible(boolean queryPanelVisible)
|
void |
setRecordListTable(DRecordListTable recListTable)
|
void |
setSelectionMode(boolean flag)
|
void |
toXML(org.xml.sax.ContentHandler handler)
|
Methods inherited from class butler.client.form.DForm |
---|
addAction, addMenu, createMenuItem, getAction, getActions, getCaption, getChildFormId, getHelp, getId, getMenuList, getNativeInfo, getParent, getSiblingFormId, getStatusBar, getTitle, parseForm, parseForm, registerParser, setCaption, setCaption, setHelp, setHelp, setId, setNativeInfo, setParent, setStatusBar, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DListForm()
public DListForm(Table tab) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public Table getTable()
public void setRecordListTable(DRecordListTable recListTable)
public DRecordListTable getRecordListTable() throws java.lang.Exception
java.lang.Exception
public void setQuery(Query q) throws java.lang.Exception
java.lang.Exception
public void setQueryPanel(DQueryPanel panel)
public DQueryPanel getQueryPanel() throws java.lang.Exception
java.lang.Exception
public void setMultipleSelection(boolean flag) throws java.lang.Exception
java.lang.Exception
public boolean isMultipleSelection() throws java.lang.Exception
java.lang.Exception
public boolean isSelectionMode()
public void setSelectionMode(boolean flag)
public boolean isPaging()
public void setPaging(boolean flag)
public DDetailForm getDetailForm()
public DDetailForm createDetailForm() throws java.lang.Exception
java.lang.Exception
public static DListForm parse(org.dom4j.Element element) throws java.lang.Exception
java.lang.Exception
public void toXML(org.xml.sax.ContentHandler handler) throws java.lang.Exception
java.lang.Exception
public boolean isQueryPanelVisible()
public void setQueryPanelVisible(boolean queryPanelVisible)
public boolean isInitSearch()
public void setInitSearch(boolean initSearch)
public java.util.Collection getChildren() throws java.lang.Exception
getChildren
in class DForm
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |