|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--by.belsoft.report.tools.actions.ContextData | +--by.belsoft.report.tools.actions.CommonViewAction | +--by.belsoft.report.tools.actions.PreviewAction
This class supports all preview actions
Field Summary |
Fields inherited from class by.belsoft.report.tools.actions.CommonViewAction |
attributes, attributeStyleList, cols, container, haveColor, id, inputRend, renders, rows, selectedTableId, selectLists, selectValue, uiTree, xmluts |
Constructor Summary | |
PreviewAction()
PreviewAction base constructor |
Method Summary | |
BaseTakenUp |
findElementParentContainerObject(java.lang.String id,
BaseTakenUp cont,
BaseTakenUp cont_lev1,
BaseTakenUp cont_lev2)
Method to get elements container by its id |
void |
generate(ActionEvent ae)
generate generates new preview table |
java.lang.String |
getFieldId()
standard getter |
java.util.ArrayList |
getFields()
standard getter |
java.lang.String |
getHeader()
standard getter |
BaseTakenUp |
getPropsTable()
standard getter |
DefaultTreeModel |
getPropsTree()
getPropsTree gets detailed table tree |
DefaultTreeModel |
getTree()
getTree gets table structure tree |
UITree |
getUiTree()
standard getter |
void |
makeUnusableRow(BaseTakenUp from,
BaseTakenUp to)
makeUnusableRow makes row that will not be used during generation |
DefaultMutableTreeNode |
makeXMLTreeDynamicElementsFromObject(DefaultMutableTreeNode to,
java.util.ArrayList what)
makeXMLTreeDynamicElementsFromObject makes object tree |
void |
pasteHeader(ActionEvent ae)
pasteHeader pastes header for column |
java.lang.String |
properties()
properties prepares properties container |
BaseTakenUp |
replaceIdWithElementName(BaseTakenUp cont)
Replaces the id with element name inside given container |
void |
save(ActionEvent ae)
save all data per action |
void |
saveAttrs(ActionEvent ae)
saveAttrs saves current container attributes |
void |
saveContainer(ActionEvent ae)
saveContainer saves current container |
void |
saveProps(ActionEvent ae)
saveProps seves container with all its properties |
void |
savePropsData(ActionEvent ae)
savePropsData saves properties data |
void |
setAttributeStyle(ActionEvent ae)
setAttributeStyle sets style for given element |
void |
setComplexFields()
setComplexFields sets fields with complex instance to container |
void |
setContainerByElementId(java.lang.String id)
Sets container by elements id |
void |
setFieldId(java.lang.String fieldId)
standard setter |
void |
setFields(java.util.ArrayList fields)
standard setter |
void |
setFields(java.lang.String id)
setFields sets fields for chosen query |
void |
setFieldToTable(ActionEvent ae)
setFieldToTable pastes field to generated table |
void |
setHeader(java.lang.String header)
standard setter |
void |
setPropsTable(BaseTakenUp propsTable)
standard setter |
void |
setUiTree(UITree uiTree)
standard setter |
Methods inherited from class by.belsoft.report.tools.actions.CommonViewAction |
findContainerBaseElement, findContainerObject, generateTable, getAttributes, getAttributeStyleList, getCols, getContainer, getHaveColor, getId, getIdContainer, getInputRend, getRenders, getRows, getSelectedTableId, getSelectLists, getSelectValue, listenSelectProps, organizeAttributes, pasteImage, pasteLink, pasteTextArea, pasteTextField, returnContainer, setAttributes, setAttributeStyleList, setCols, setCommonAttributeStyle, setContainer, setHaveColor, setId, setInputRend, setPageData, setRenders, setRows, setSelectedTableId, setSelectLists, setSelectValue |
Methods inherited from class by.belsoft.report.tools.actions.ContextData |
getContext, getReportName, getRequest, getSession, setRefreshData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PreviewAction()
Method Detail |
public DefaultTreeModel getTree()
public DefaultTreeModel getPropsTree()
public DefaultMutableTreeNode makeXMLTreeDynamicElementsFromObject(DefaultMutableTreeNode to, java.util.ArrayList what)
to
- DefaultMutableTreeNode where to put treewhat
- ArrayList with tables to paste
public void setFields(java.lang.String id)
id
- String the element idpublic void generate(ActionEvent ae)
ae
- ActionEventpublic void setComplexFields()
public void makeUnusableRow(BaseTakenUp from, BaseTakenUp to)
from
- BaseTakenUp from where fields will be takento
- BaseTakenUp where row will be insertedpublic void setAttributeStyle(ActionEvent ae)
ae
- ActionEvent event invokedpublic void saveProps(ActionEvent ae)
ae
- ActionEvent event invokedpublic BaseTakenUp replaceIdWithElementName(BaseTakenUp cont)
cont
- the container to replace
public void save(ActionEvent ae)
ae
- ActionEvent event invokedpublic void setFieldToTable(ActionEvent ae)
ae
- ActionEvent event invokedpublic java.lang.String properties()
properties
in class CommonViewAction
public void saveContainer(ActionEvent ae)
ae
- ActionEvent event invokedpublic void savePropsData(ActionEvent ae)
ae
- ActionEvent event invokedpublic BaseTakenUp findElementParentContainerObject(java.lang.String id, BaseTakenUp cont, BaseTakenUp cont_lev1, BaseTakenUp cont_lev2)
id
- the element idcont
- the parent of parent containercont_lev1
- the parent of containercont_lev2
- the container
public void setContainerByElementId(java.lang.String id)
id
- the element idpublic void saveAttrs(ActionEvent ae)
ae
- ActionEvent event invokedpublic void pasteHeader(ActionEvent ae)
ae
- ActionEvent event invokedpublic java.util.ArrayList getFields()
public void setFields(java.util.ArrayList fields)
fields
- The fields to set.public java.lang.String getFieldId()
public void setFieldId(java.lang.String fieldId)
fieldId
- The fieldId to set.public java.lang.String getHeader()
public void setHeader(java.lang.String header)
header
- The header to set.public UITree getUiTree()
getUiTree
in class CommonViewAction
public void setUiTree(UITree uiTree)
setUiTree
in class CommonViewAction
uiTree
- The uiTree to set.public BaseTakenUp getPropsTable()
public void setPropsTable(BaseTakenUp propsTable)
propsTable
- The property table to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |