|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.jquery.component.LyJQInternalView
leon.view.web.jquery.component.fieldItem.LyJQFieldItem
leon.view.web.jquery.component.panel.LyJQPanel
leon.view.web.jquery.component.table.LyJQTable
public class LyJQTable
LyTable JQUERY internal view implementation
Field Summary |
---|
Fields inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem |
---|
__VERSION |
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Fields inherited from interface leon.view.graphic.LyGraphicalTable |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LySetVisibleInterface |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LySetTableInterface |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LySetIdleInterface |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LySetPopupMenuInterface |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQTable(LyTable table)
|
Method Summary | |
---|---|
void |
addRow(LyRow row)
Adds the given row at the end of the current table. |
void |
addRow(LyRow row,
int idx)
Adds the given row at the given position in the current table. |
boolean |
containsImage()
|
void |
freezeColumn(int idx)
Freezes the column at the given index in the view. |
LyRow |
getActiveRow()
|
java.util.List<java.util.List<LyComponent>> |
getHeadersArray()
get headers tree |
int |
getHeadersDepth()
get headers imbrication depth |
LyJQFooters |
getJQFooters()
|
LyJQHeaders |
getJQHeaders()
|
LyJQRows |
getJQRows()
|
LyTable |
getLyTable()
get Lytable component |
int |
getNbRows(LyRows rows)
|
LyRow |
getRow(int i)
Gets the row at the specified position. |
java.lang.String |
getSortString(int sortIndex)
Returns the string that must be displayed in headers for sort. |
int |
getTableNbColumns()
|
void |
hideRow(int idx,
boolean hide)
Hides or show the row at the given index. |
boolean |
isEditable()
Indicates if the field item is editable. |
boolean |
isTable()
|
void |
reloadTable()
|
void |
removeRow(int idx)
Removes the row at the given index from the current table. |
void |
removeRow(LyRow row)
Removes the given row from the current table. |
void |
selectAll(boolean select,
boolean updateView)
Selects or unselects all objects of the table. |
void |
selectRow(int idx,
boolean select)
Selects or unselects the row at the given index of the table. |
void |
selectRow(LyRow row,
boolean select)
Selects or unselects the specified row in the table. |
void |
setEnabled(boolean enabled)
Updates attribute enabled to the given value. |
void |
setFooters(LyFooters footers)
Sets sub-component footers. |
void |
setHeaders(LyHeaders headers)
Sets sub-component headers. |
void |
setIdle(boolean status)
Sets or unset the idle mode on the component/node. |
void |
setJQFooters()
|
void |
setJQHeaders()
|
void |
setJQRows()
|
void |
setNRows(int nRows)
Updates attribute nRows to the given value. |
void |
setVisible(boolean status)
Sets the visibility status of this component. |
void |
showRow(int idx)
Scrolls to make visible to the user the row at the given index . |
void |
swapRows(int idx1,
int idx2)
Swaps the rows at the specified indexes. |
void |
updateRow(LyRow row)
Updates the given row. |
boolean |
useAjaxLoading(boolean isPrintMode)
Indicates whether table content must be loaded in a separate Ajax request. |
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
Methods inherited from class leon.view.web.jquery.component.panel.LyJQPanel |
---|
isChart, isForm, isGantt, isMap, isNotice, isPanel, isTable, isTree, setPopupMenu |
Methods inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem |
---|
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getReloadScript, getTarget, isEnabled, isLabelInstance, isMail, isNetscape, isOptional, isPrintMode, isUrl, isUrlRecurse, needCheck, setLabel |
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView |
---|
getConvertedHTML, getEncoding, getId, getJavascriptStrId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty |
Methods inherited from class leon.view.web.LyWebObject |
---|
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, getBounds, getChildrenBounds, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Constructor Detail |
---|
public LyJQTable(LyTable table)
Method Detail |
---|
public LyTable getLyTable()
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
writeHtml
in class LyJQFieldItem
pw
- the page writerpublic int getHeadersDepth()
public void setEnabled(boolean enabled)
LyGraphicalTable
setEnabled
in interface LyGraphicalTable
setEnabled
in interface LySetEnabledInterface
enabled
- Boolean indicating if attribute enabled is set or unset.LyGraphicalTable.setEnabled(boolean)
public void setHeaders(LyHeaders headers)
LyGraphicalTable
setHeaders
in interface LyGraphicalTable
headers
- New value of headersLyGraphicalTable.setHeaders(leon.view.LyHeaders)
public void setFooters(LyFooters footers)
LyGraphicalTable
setFooters
in interface LyGraphicalTable
footers
- New value of footersLyGraphicalTable.setFooters(leon.view.LyFooters)
public java.util.List<java.util.List<LyComponent>> getHeadersArray()
public int getTableNbColumns()
public void setIdle(boolean status)
LySetIdleInterface
setIdle
in interface LySetIdleInterface
status
- new idle status (LySetIdleInterface interface)LySetIdleInterface.setIdle(boolean)
public void addRow(LyRow row)
LySetTableInterface
addRow
in interface LySetTableInterface
row
- the row to addLySetTableInterface.addRow(leon.view.LyRow)
public void addRow(LyRow row, int idx)
LySetTableInterface
addRow
in interface LySetTableInterface
row
- the row to addidx
- the position where the row has to be addedLySetTableInterface.addRow(leon.view.LyRow, int)
public void removeRow(LyRow row)
LySetTableInterface
removeRow
in interface LySetTableInterface
row
- the row to removeLySetTableInterface.removeRow(leon.view.LyRow)
public void removeRow(int idx)
LySetTableInterface
removeRow
in interface LySetTableInterface
idx
- the index of the row to removeLySetTableInterface.removeRow(int)
public void swapRows(int idx1, int idx2)
LySetTableInterface
swapRows
in interface LySetTableInterface
idx1
- the position of the first row to swapidx2
- the position of the second row to swapLySetTableInterface.swapRows(int, int)
public void selectRow(LyRow row, boolean select)
LySetTableInterface
selectRow
in interface LySetTableInterface
row
- the row to select or unselectselect
- true if the row has to be selected, false otherwiseLySetTableInterface.selectRow(leon.view.LyRow, boolean)
public void selectRow(int idx, boolean select)
LySetTableInterface
selectRow
in interface LySetTableInterface
idx
- index of the row to select or unselectselect
- true if the row has to be selected, false otherwiseLySetTableInterface.selectRow(int, boolean)
public void selectAll(boolean select, boolean updateView)
LySetTableInterface
selectAll
in interface LySetTableInterface
select
- true if all objects have to be selected, false otherwiseupdateView
- indicates if the view must be updated or not.LySetTableInterface.selectAll(boolean, boolean)
public void showRow(int idx)
LySetTableInterface
showRow
in interface LySetTableInterface
idx
- the index of the row to showLySetTableInterface.showRow(int)
public LyRow getActiveRow()
public LyRow getRow(int i)
i
- the row position
public void reloadTable()
public void hideRow(int idx, boolean hide)
LySetTableInterface
hideRow
in interface LySetTableInterface
idx
- the index of the row to show or hidehide
- indicates if the row has to be shown or hidedLySetTableInterface.hideRow(int, boolean)
public void freezeColumn(int idx)
LySetTableInterface
freezeColumn
in interface LySetTableInterface
idx
- the index of the column to freezeLySetTableInterface.freezeColumn(int)
public void updateRow(LyRow row)
LySetTableInterface
updateRow
in interface LySetTableInterface
row
- the row to updateLySetTableInterface.updateRow(leon.view.LyRow)
public void setVisible(boolean status)
LySetVisibleInterface
setVisible
in interface LySetVisibleInterface
status
- new visibility status, if true the component will be shown, if false it will be
hidenLySetVisibleInterface.setVisible(boolean)
public boolean containsImage()
public boolean isTable()
public LyJQFooters getJQFooters()
public void setJQFooters()
public LyJQRows getJQRows()
public void setJQRows()
public LyJQHeaders getJQHeaders()
public void setJQHeaders()
public int getNbRows(LyRows rows)
public void setNRows(int nRows)
LyGraphicalTable
setNRows
in interface LyGraphicalTable
nRows
- New value of nRows.public boolean isEditable()
LyJQFieldItem
isEditable
in class LyJQFieldItem
public java.lang.String getSortString(int sortIndex)
public boolean useAjaxLoading(boolean isPrintMode)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |