Class PositionAwareTreeControllerWrapper<T>
java.lang.Object
de.hybris.platform.cockpit.components.mvc.tree.TreeControllerWrapper<T>
de.hybris.platform.cockpit.components.mvc.tree.PositionAwareTreeControllerWrapper<T>
- All Implemented Interfaces:
SelectableComponent<Tree,,org.zkoss.zul.Treeitem, T> PositionAwareTreeController<T>,TreeController<T>
public class PositionAwareTreeControllerWrapper<T>
extends TreeControllerWrapper<T>
implements PositionAwareTreeController<T>
Default PositionAwareTreeController Wrapper Implementation.
Note:
This class implements the Wrapper or Decorator pattern. Methods default to calling through to the wrapped controller object.
This class implements the Wrapper or Decorator pattern. Methods default to calling through to the wrapped controller object.
- See Also:
-
Field Summary
Fields inherited from class de.hybris.platform.cockpit.components.mvc.tree.TreeControllerWrapper
controller -
Constructor Summary
ConstructorsConstructorDescriptionPositionAwareTreeControllerWrapper(PositionAwareTreeController<T> controllerToWrap) -
Method Summary
Methods inherited from class de.hybris.platform.cockpit.components.mvc.tree.TreeControllerWrapper
add, add, create, create, customAction, delete, doubleClicked, getSelected, move, selectedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.components.mvc.SelectableComponent
getSelected, selectedMethods inherited from interface de.hybris.platform.cockpit.components.mvc.tree.TreeController
add, add, create, create, customAction, delete, doubleClicked, move
-
Constructor Details
-
PositionAwareTreeControllerWrapper
-
-
Method Details
-
move
Description copied from interface:PositionAwareTreeControllerMoves given node in place of 'target' node.- Specified by:
movein interfacePositionAwareTreeController<T>- Parameters:
tree- after successful movement, tree will be notified to update itselfnode- to be movedtarget- node to be shifted. In place of this 'target' node the 'node' will be moved.addAsChild- flag indicating whether node should be added as a child or not.append- if true the element will be placed after (addAsChild false) or in the very end (addAsChild true)
-