org.olat.core.gui.components.tree
Class SelectionTree
java.lang.Object
org.olat.core.gui.components.Component
org.olat.core.gui.components.tree.SelectionTree
public class SelectionTree
- extends Component
Description:
- Author:
- Felix Jost
| Methods inherited from class org.olat.core.gui.components.Component |
addListener, debuginfoGetListeners, dispatchRequest, getAndClearLatestFiredEvent, getComponentName, getDispatchID, getExtendedDebugInfo, getLatestDispatchedController, getListenerInfo, getParent, getSpanAsDomReplaceable, getTimestamp, getTranslator, isDirty, isDirtyForUser, isDomReplaceable, isEnabled, isVisible, setDirty, setDomReplaceable, setEnabled, setSpanAsDomReplaceable, setVisible, toString, validate |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SelectionTree
public SelectionTree(java.lang.String name,
Translator translator)
- Parameters:
name -
setGreyOutNonSelectableEntries
public void setGreyOutNonSelectableEntries(boolean b)
- Set wether to grey out non selectable entries in the tree.
- Parameters:
b -
getGreyOutNonSelectableEntries
public boolean getGreyOutNonSelectableEntries()
- Returns:
getSelectedNode
public TreeNode getSelectedNode()
- Returns:
setSelectedNodeId
public void setSelectedNodeId(java.lang.String nodeId)
- Parameters:
nodeId -
getTreeModel
public TreeModel getTreeModel()
- Returns:
- MutableTreeModel
setTreeModel
public void setTreeModel(TreeModel treeModel)
- Sets the treeModel.
- Parameters:
treeModel - The treeModel to set
setMultiselect
public void setMultiselect(boolean b)
- If set to true, user may select more than one treenode.
- Parameters:
b -
isMultiselect
public boolean isMultiselect()
- Returns:
getFormButtonKey
public java.lang.String getFormButtonKey()
- Returns:
setFormButtonKey
public void setFormButtonKey(java.lang.String string)
- Parameters:
string -
getActionCommand
public java.lang.String getActionCommand()
- Returns:
setActionCommand
public void setActionCommand(java.lang.String string)
- Parameters:
string -
getHTMLRendererSingleton
public ComponentRenderer getHTMLRendererSingleton()
- Specified by:
getHTMLRendererSingleton in class Component
setShowCancelButton
public void setShowCancelButton(boolean showCancelButton)
- Parameters:
showCancelButton - The showCancelButton to set.
isShowCancelButton
public boolean isShowCancelButton()
- Returns:
- Returns the showCancelButton.
isAllowEmptySelection
public boolean isAllowEmptySelection()
setAllowEmptySelection
public void setAllowEmptySelection(boolean allowEmptySelection)
isShowAltTextAsHoverOnTitle
public boolean isShowAltTextAsHoverOnTitle()
setShowAltTextAsHoverOnTitle
public void setShowAltTextAsHoverOnTitle(boolean showAltTextAsHoverOnTitle)