|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oktiva.mogno.Component
com.oktiva.mogno.Visual
com.oktiva.mogno.Container
com.oktiva.mogno.html.Table
com.oktiva.mogno.additional.SimpleTable
Field Summary | |
boolean |
active
Activate/deactivate this SimpleList. |
java.lang.String |
columnIdentifiers
String with the comumn's names and widths, in the following format: name1|attr1=val1|attr2=val2&name2|attr3=val3... |
protected java.util.Vector |
dataVector
Vector of Vectors with the table data. |
java.lang.String |
editableColumns
|
java.lang.String |
evOnRemoveRow
|
java.lang.String |
hiddenColumns
|
java.lang.String |
removeButtonLabel
The label to show in the "remove" buttons. |
java.lang.String |
removeColumnTitle
The title on top of the columns with the "remove" buttons. |
java.lang.String |
totalColumns
The number of the columns taht will be totalized, separated by & . |
java.lang.String |
totalLineLabel
The String that will be displayed in the first column of the total line |
int |
totalMaximumFractionDigits
The max number of fractionary digists given to DecimalFormat |
int |
totalMinimumFractionDigits
The minimum number of fractionary digists given to DecimalFormat |
Fields inherited from class com.oktiva.mogno.html.Table |
align, border, cellpadding, cellspacing, dir, frame, lang, onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, rules, summary, width |
Fields inherited from class com.oktiva.mogno.Container |
afterEnd, content |
Fields inherited from class com.oktiva.mogno.Visual |
evOnShow, evOnSyntaxError, gridHeight, gridWeightX, gridWeightY, gridWidth, id, lastError, left, parent, problematic, style, styleClass, title, top |
Fields inherited from class com.oktiva.mogno.Component |
bag, componentFiler, componentFilerParams, designing, eventQueue, evOnCreate, name, owned, ownedClasses, owner, tag, xmlFileName |
Constructor Summary | |
SimpleTable()
|
Method Summary | |
void |
addRowData(java.util.Vector rowData)
|
java.lang.String |
endContainer()
Ends container's tag. |
boolean |
getActive()
|
java.lang.String |
getColumnIdentifiers()
|
java.util.Vector |
getDataVector()
Getter for property dataVector. |
java.lang.String |
getEditableColumns()
Getter for property editableColumns. |
java.lang.String |
getEvOnRemoveRow()
|
java.lang.String |
getHiddenColumns()
Getter for property hiddenColumns. |
java.lang.String |
getRemoveButtonLabel()
|
java.lang.String |
getRemoveColumnTitle()
|
java.util.Vector |
getRemovedRow()
Returns the row that was clicked to be removed. |
java.lang.String |
getTotalColumns()
Getter for property totalColumns. |
java.lang.String |
getTotalLineLabel()
Getter for property totalLineLabel. |
int |
getTotalMaximumFractionDigits()
Getter for property totalMaximumFractionDigits. |
int |
getTotalMinimumFractionDigits()
Getter for property totalMinimumFractionDigits. |
void |
receiveRequest(javax.servlet.http.HttpServletRequest request)
Receive the request and rebuild the properties using the data that the user has filled in. |
Component |
selectParentComponent()
The parent component: this one or his owner. |
void |
setActive(boolean active)
|
void |
setColumnIdentifiers(java.lang.String columnIdentifiers)
|
void |
setDataVector(java.util.Vector dataVector)
Setter for property dataVector. |
void |
setEditableColumns(java.lang.String editableColumns)
Colum numbers wich should be turnned into text inputs, separated by & |
void |
setEvOnRemoveRow(java.lang.String evOnRemoveRow)
|
void |
setHiddenColumns(java.lang.String hiddenColumns)
Setter for property hiddenColumns. |
void |
setRemoveButtonLabel(java.lang.String removeButtonLabel)
|
void |
setRemoveColumnTitle(java.lang.String removeColumnTitle)
|
void |
setTotalColumns(java.lang.String totalColumns)
Setter for property totalColumns. |
void |
setTotalLineLabel(java.lang.String totalLineLabel)
Setter for property totalLineLabel. |
void |
setTotalMaximumFractionDigits(int totalMaximumFractionDigits)
Setter for property totalMaximumFractionDigits. |
void |
setTotalMinimumFractionDigits(int totalMinimumFractionDigits)
Setter for property totalMinimumFractionDigits. |
java.lang.String |
show()
Builds the HTML from the ordered childs list. |
Methods inherited from class com.oktiva.mogno.html.Table |
getAlign, getBorder, getCellpadding, getCellspacing, getDir, getFrame, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRules, getSummary, getWidth, htmlAttributes, setAlign, setBorder, setCellpadding, setCellspacing, setDir, setFrame, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRules, setSummary, setWidth |
Methods inherited from class com.oktiva.mogno.Container |
addChildsVector, betweenColumns, betweenRows, endColumn, endRow, getChildsVector, getContent, getFullComponentsVector, getOrderedChildNames, getOrderedChildsVector, nonAttributeGetters, orderChildsVector, setContent, startColumn, startContainer, startRow |
Methods inherited from class com.oktiva.mogno.Component |
attribsHash, createOwnedComponents, dispatch, dispatchAll, dispatchFunction, eventParamTypes, eventParamValues, freeChild, getApplication, getAttrsTypes, getBag, getChild, getChildClass, getClone, getEvOnCreate, getFromBag, getName, getOwner, initialize, initialize, initialize, initialize, isDesigning, listChilds, putInBag, queue, registerChild, removeFromBag, serializedBag, setBag, setComponentFiler, setComponentFilerParams, setDesigning, setEvOnCreate, setName, setOwner, setProperties, store, unserializeBag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Vector dataVector
public java.lang.String columnIdentifiers
public java.lang.String editableColumns
public java.lang.String hiddenColumns
public java.lang.String removeColumnTitle
public java.lang.String evOnRemoveRow
public boolean active
public java.lang.String removeButtonLabel
public java.lang.String totalLineLabel
public java.lang.String totalColumns
&
.
public int totalMaximumFractionDigits
public int totalMinimumFractionDigits
Constructor Detail |
public SimpleTable()
Method Detail |
public java.lang.String getColumnIdentifiers()
public void setColumnIdentifiers(java.lang.String columnIdentifiers)
public java.lang.String getHiddenColumns()
public void setHiddenColumns(java.lang.String hiddenColumns)
hiddenColumns
- New value of property hiddenColumns.public java.lang.String getRemoveColumnTitle()
public void setRemoveColumnTitle(java.lang.String removeColumnTitle)
public java.lang.String getEvOnRemoveRow()
public void setEvOnRemoveRow(java.lang.String evOnRemoveRow)
public boolean getActive()
public void setActive(boolean active)
public java.lang.String getRemoveButtonLabel()
public void setRemoveButtonLabel(java.lang.String removeButtonLabel)
public Component selectParentComponent()
Container
selectParentComponent
in class Container
(Component)owner==null?this:owner
public java.lang.String show() throws java.lang.Exception
Container
show
in class Container
java.lang.Exception
public java.lang.String endContainer()
Container
endContainer
in class Container
public void receiveRequest(javax.servlet.http.HttpServletRequest request)
Visual
receiveRequest
in class Visual
request
- HttpServletRequestpublic void addRowData(java.util.Vector rowData)
public java.util.Vector getDataVector()
public void setDataVector(java.util.Vector dataVector)
dataVector
- New value of property dataVector.public java.lang.String getEditableColumns()
public void setEditableColumns(java.lang.String editableColumns)
editableColumns
- New value of property editableColumns.public java.util.Vector getRemovedRow()
public java.lang.String getTotalLineLabel()
public void setTotalLineLabel(java.lang.String totalLineLabel)
totalLineLabel
- New value of property totalLineLabel.public java.lang.String getTotalColumns()
public void setTotalColumns(java.lang.String totalColumns)
totalColumns
- New value of property totalColumns.public int getTotalMaximumFractionDigits()
public void setTotalMaximumFractionDigits(int totalMaximumFractionDigits)
totalMaximumFractionDigits
- New value of property totalMaximumFractionDigits.public int getTotalMinimumFractionDigits()
public void setTotalMinimumFractionDigits(int totalMinimumFractionDigits)
totalMinimumFractionDigits
- New value of property totalMinimumFractionDigits.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |