org.openfaces.component.table
Class MultipleNodeSelection

java.lang.Object
  extended by UICommand
      extended by org.openfaces.component.OUICommand
          extended by org.openfaces.component.table.AbstractTableSelection
              extended by org.openfaces.component.table.TreeTableSelection
                  extended by org.openfaces.component.table.MultipleNodeSelection
All Implemented Interfaces:
ComponentConfigurator, OUIComponent

public class MultipleNodeSelection
extends TreeTableSelection


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Constructor Summary
MultipleNodeSelection()
           
 
Method Summary
 void encodeOnAjaxNodeFolding(FacesContext context)
           
 java.lang.String getFamily()
           
 java.util.List<java.lang.Object> getNodeDatas()
           
 java.util.List<TreePath> getNodePaths()
           
 java.util.List<TreePath> getSelectedNodeKeyPaths()
          This method is only for internal usage from within the OpenFaces library.
 boolean isMultipleSelectionAllowed()
           
 void rememberByKeys()
           
 void restoreState(FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(FacesContext context)
           
 void setNodeDatas(java.util.List<java.lang.Object> nodeDatas)
           
 void setNodePaths(java.util.List<TreePath> nodePaths)
           
 
Methods inherited from class org.openfaces.component.table.TreeTableSelection
setParent
 
Methods inherited from class org.openfaces.component.table.AbstractTableSelection
beforeEncode, beforeInvokeApplication, decode, encodeBegin, getConfiguredComponent, getModel, getOnchange, getStyle, getStyleClass, getTable, isEnabled, isKeyboardSupport, isMouseSupport, processUpdates, registerSelectionStyle, setEnabled, setKeyboardSupport, setModel, setMouseSupport, setOnchange, setStyle, setStyleClass, setTable
 
Methods inherited from class org.openfaces.component.OUICommand
getExecute, getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRender, getRolloverClass, getRolloverStyle, setExecute, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRender, setRolloverClass, setRolloverStyle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

MultipleNodeSelection

public MultipleNodeSelection()
Method Detail

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class OUICommand

setNodeDatas

public void setNodeDatas(java.util.List<java.lang.Object> nodeDatas)

setNodePaths

public void setNodePaths(java.util.List<TreePath> nodePaths)

getNodeDatas

public java.util.List<java.lang.Object> getNodeDatas()

getNodePaths

public java.util.List<TreePath> getNodePaths()

saveState

public java.lang.Object saveState(FacesContext context)
Overrides:
saveState in class AbstractTableSelection

restoreState

public void restoreState(FacesContext context,
                         java.lang.Object state)
Overrides:
restoreState in class AbstractTableSelection

rememberByKeys

public void rememberByKeys()
Specified by:
rememberByKeys in class AbstractTableSelection

isMultipleSelectionAllowed

public boolean isMultipleSelectionAllowed()
Specified by:
isMultipleSelectionAllowed in class AbstractTableSelection

encodeOnAjaxNodeFolding

public void encodeOnAjaxNodeFolding(FacesContext context)
                             throws java.io.IOException
Overrides:
encodeOnAjaxNodeFolding in class AbstractTableSelection
Throws:
java.io.IOException

getSelectedNodeKeyPaths

public java.util.List<TreePath> getSelectedNodeKeyPaths()
Description copied from class: TreeTableSelection
This method is only for internal usage from within the OpenFaces library. It shouldn't be used explicitly by any application code.

Specified by:
getSelectedNodeKeyPaths in class TreeTableSelection


Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.