com.vaadin.client.ui
Class VAbsoluteLayout.AbsoluteWrapper

java.lang.Object
  extended by SimplePanel
      extended by com.vaadin.client.ui.VAbsoluteLayout.AbsoluteWrapper
Enclosing class:
VAbsoluteLayout

protected class VAbsoluteLayout.AbsoluteWrapper
extends SimplePanel

Internal wrapper for wrapping widgets in the Absolute layout


Constructor Summary
VAbsoluteLayout.AbsoluteWrapper(Widget child)
          Constructor
 
Method Summary
 void destroy()
          Removes the wrapper caption and itself from the layout
 VCaption getCaption()
          Get the caption of the wrapper
 void setCaption(VCaption caption)
          Set the caption for the wrapper
 void setPosition(java.lang.String position)
          Set the position for the wrapper in the layout
 void setWrapperStyleNames(java.lang.String... stylenames)
          Sets the style names of the wrapper.
protected  void updateStyleNames()
          Updates the style names using the primary style name as prefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VAbsoluteLayout.AbsoluteWrapper

public VAbsoluteLayout.AbsoluteWrapper(Widget child)
Constructor

Parameters:
child - The child to wrap
Method Detail

getCaption

public VCaption getCaption()
Get the caption of the wrapper


setCaption

public void setCaption(VCaption caption)
Set the caption for the wrapper

Parameters:
caption - The caption for the wrapper

destroy

public void destroy()
Removes the wrapper caption and itself from the layout


setPosition

public void setPosition(java.lang.String position)
Set the position for the wrapper in the layout

Parameters:
position - The position string

setWrapperStyleNames

public void setWrapperStyleNames(java.lang.String... stylenames)
Sets the style names of the wrapper. Will be prefixed with the v-absolutelayout-wrapper prefix

Parameters:
stylenames - The wrapper style names

updateStyleNames

protected void updateStyleNames()
Updates the style names using the primary style name as prefix



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