info.magnolia.ui.workbench.tree
Class TreeRowScroller

java.lang.Object
  extended by com.vaadin.server.AbstractClientConnector
      extended by com.vaadin.server.AbstractExtension
          extended by com.vaadin.server.AbstractJavaScriptExtension
              extended by info.magnolia.ui.workbench.tree.RowScroller
                  extended by info.magnolia.ui.workbench.tree.TreeRowScroller
All Implemented Interfaces:
com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Extension, com.vaadin.shared.Connector, Serializable

public class TreeRowScroller
extends RowScroller

Just like RowScroller - brings tree table rows into view and also expands the parent nodes if needed.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
 
Field Summary
 
Fields inherited from class info.magnolia.ui.workbench.tree.RowScroller
MGNL_TABLE
 
Constructor Summary
TreeRowScroller(com.vaadin.ui.TreeTable table)
           
 
Method Summary
 void bringRowIntoView(Object rowId)
           
 void expandTreeToNode(Object id, boolean expandNode)
           
protected  int getItemIndex(Object itemId)
           
 com.vaadin.ui.TreeTable getParent()
           
 
Methods inherited from class info.magnolia.ui.workbench.tree.RowScroller
attach, getSupportedParentType
 
Methods inherited from class com.vaadin.server.AbstractJavaScriptExtension
addFunction, callFunction, getState, registerRpc
 
Methods inherited from class com.vaadin.server.AbstractExtension
extend, remove, setParent
 
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, beforeClientResponse, createState, detach, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getState, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
 
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
 

Constructor Detail

TreeRowScroller

public TreeRowScroller(com.vaadin.ui.TreeTable table)
Method Detail

bringRowIntoView

public void bringRowIntoView(Object rowId)
Overrides:
bringRowIntoView in class RowScroller

getParent

public com.vaadin.ui.TreeTable getParent()
Specified by:
getParent in interface com.vaadin.server.ClientConnector
Specified by:
getParent in interface com.vaadin.shared.Connector
Overrides:
getParent in class RowScroller

getItemIndex

protected int getItemIndex(Object itemId)
Overrides:
getItemIndex in class RowScroller

expandTreeToNode

public void expandTreeToNode(Object id,
                             boolean expandNode)


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.