com.vaadin.client.ui
Class VAbstractSplitPanel

java.lang.Object
  extended by ComplexPanel
      extended by com.vaadin.client.ui.VAbstractSplitPanel
Direct Known Subclasses:
VSplitPanelHorizontal, VSplitPanelVertical

public class VAbstractSplitPanel
extends ComplexPanel


Nested Class Summary
static interface VAbstractSplitPanel.SplitterMoveHandler
           
 
Field Summary
static java.lang.String CLASSNAME
           
 ApplicationConnection client
          For internal use only.
 java.util.List<java.lang.String> componentStyleNames
          For internal use only.
 boolean immediate
          For internal use only.
 java.lang.String maximumPosition
          For internal use only.
 java.lang.String minimumPosition
          For internal use only.
protected  int origScrollTop
           
 java.lang.String position
          The current position of the split handle in either percentages or pixels
protected  Element scrolledContainer
           
 Element splitter
          For internal use only.
 
Constructor Summary
VAbstractSplitPanel()
           
VAbstractSplitPanel(com.vaadin.shared.ui.Orientation orientation)
           
 
Method Summary
protected  void constructDom()
           
 Widget getFirstWidget()
           
 Widget getSecondWidget()
           
 java.lang.String getSplitterPosition()
          For internal use only.
 boolean isEnabled()
           
 void makeScrollable()
          Ensures the panels are scrollable eg.
 void onBrowserEvent(Event event)
           
 void onMouseDown(Event event)
           
 void onMouseMove(Event event)
           
 void onMouseUp(Event event)
           
 boolean remove(Widget w)
           
 void setEnabled(boolean enabled)
           
 void setFirstWidget(Widget w)
          For internal use only.
 void setLocked(boolean newValue)
          For internal use only.
 void setPositionReversed(boolean reversed)
          For internal use only.
 void setSecondWidget(Widget w)
          For internal use only.
 void setSplitPosition(java.lang.String pos)
           
 void setStylenames()
          For internal use only.
 void updateSizes()
          For internal use only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

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

splitter

public final Element splitter
For internal use only. May be removed or replaced in the future.


componentStyleNames

public java.util.List<java.lang.String> componentStyleNames
For internal use only. May be removed or replaced in the future.


client

public ApplicationConnection client
For internal use only. May be removed or replaced in the future.


immediate

public boolean immediate
For internal use only. May be removed or replaced in the future.


position

public java.lang.String position
The current position of the split handle in either percentages or pixels

For internal use only. May be removed or replaced in the future.


maximumPosition

public java.lang.String maximumPosition
For internal use only. May be removed or replaced in the future.


minimumPosition

public java.lang.String minimumPosition
For internal use only. May be removed or replaced in the future.


scrolledContainer

protected Element scrolledContainer

origScrollTop

protected int origScrollTop
Constructor Detail

VAbstractSplitPanel

public VAbstractSplitPanel()

VAbstractSplitPanel

public VAbstractSplitPanel(com.vaadin.shared.ui.Orientation orientation)
Method Detail

constructDom

protected void constructDom()

remove

public boolean remove(Widget w)

setLocked

public void setLocked(boolean newValue)
For internal use only. May be removed or replaced in the future.


setPositionReversed

public void setPositionReversed(boolean reversed)
For internal use only. May be removed or replaced in the future.


setSplitPosition

public void setSplitPosition(java.lang.String pos)

updateSizes

public void updateSizes()
For internal use only. May be removed or replaced in the future.


setFirstWidget

public void setFirstWidget(Widget w)
For internal use only. May be removed or replaced in the future.


getFirstWidget

public Widget getFirstWidget()

setSecondWidget

public void setSecondWidget(Widget w)
For internal use only. May be removed or replaced in the future.


getSecondWidget

public Widget getSecondWidget()

onBrowserEvent

public void onBrowserEvent(Event event)

onMouseDown

public void onMouseDown(Event event)

onMouseMove

public void onMouseMove(Event event)

onMouseUp

public void onMouseUp(Event event)

getSplitterPosition

public java.lang.String getSplitterPosition()
For internal use only. May be removed or replaced in the future.


setStylenames

public void setStylenames()
For internal use only. May be removed or replaced in the future.


setEnabled

public void setEnabled(boolean enabled)

isEnabled

public boolean isEnabled()

makeScrollable

public void makeScrollable()
Ensures the panels are scrollable eg. after style name changes

For internal use only. May be removed or replaced in the future.



Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.