com.sibvisions.rad.ui.web.ext.gxt
Class GVxMask

java.lang.Object
  extended by com.sibvisions.rad.ui.web.ext.gxt.GVxMask

public class GVxMask
extends Object

The GVxMask makes it possible to show a transparent mask over a component.


Constructor Summary
GVxMask(UIObject pElement)
          Creates a new instance of GVxMask for an UI element.
 
Method Summary
protected  El createMask()
          Creates the mask El.
protected  El createMessage()
          Creates the message El.
 El getMask()
          Gets the mask element.
 El getMessage()
          Gets the message element.
 void hide()
          Hides the mask.
 void setOpacity(int pOpacity)
          Sets the mask opacity.
 void setZIndex(int pIndex)
          Sets the z-index.
 void show(String pMessage)
          Shows the mask.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GVxMask

public GVxMask(UIObject pElement)
Creates a new instance of GVxMask for an UI element.

Parameters:
pElement - the UI element
Method Detail

show

public void show(String pMessage)
Shows the mask.

Parameters:
pMessage - the information message or null if no message should be shown

hide

public void hide()
Hides the mask.


getMask

public El getMask()
Gets the mask element.

Returns:
the El mask instance

getMessage

public El getMessage()
Gets the message element.

Returns:
the El message instance

setOpacity

public void setOpacity(int pOpacity)
Sets the mask opacity.

Parameters:
pOpacity - the opacity between 0 and 100. If the value is < 0 then the opacity will not be set and the css will be used as configured

setZIndex

public void setZIndex(int pIndex)
Sets the z-index.

Parameters:
pIndex - the index number

createMask

protected El createMask()
Creates the mask El.

Returns:
the mask element

createMessage

protected El createMessage()
Creates the message El.

Returns:
the message element


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.