|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.core.client.dom.Layer
public class Layer
Wraps a XElement and provides support for shadows and shimming.
| Nested Class Summary | |
|---|---|
static interface |
Layer.LayerAppearance
|
static class |
Layer.LayerBaseAppearance
|
static class |
Layer.LayerBaseAppearanceIe
|
static interface |
Layer.LayerResources
|
static interface |
Layer.LayerResourcesIe
|
static interface |
Layer.LayerStyle
|
static interface |
Layer.LayerStyleIe
|
static interface |
Layer.LayerTemplates
|
static interface |
Layer.LayerTemplatesIe
|
static class |
Layer.ShadowPosition
Shadow position enumeration. |
static interface |
Layer.ShimTemplates
|
| Constructor Summary | |
|---|---|
Layer(XElement elem)
|
|
Layer(XElement elem,
Layer.LayerAppearance appearance)
|
|
| Method Summary | |
|---|---|
void |
disableShadow()
Disables the shadow. |
void |
disableShim()
Disables the shim. |
void |
disableUnders()
Disables the shim and the shadow. |
void |
enableShadow()
Enables the shadow. |
void |
enableShim()
Enables the shim. |
XElement |
getElement()
|
XElement |
getShadow()
Returns the layer's shadow. |
int |
getShadowOffset()
Returns the shadow offset. |
Layer.ShadowPosition |
getShadowPosition()
Returns the shadow position. |
XElement |
getShim()
Returns the layer's shim. |
void |
hideShadow()
Hides the layer's shadow. |
void |
hideShim()
Hides the shim. |
void |
hideUnders()
Hides the shim and the shadow. |
boolean |
isShadow()
|
boolean |
isShim()
|
void |
setShadowPosition(Layer.ShadowPosition shadowPosition)
Sets the shadow position (defaults to SIDES). |
void |
sync(boolean show)
Syncs the layer with its element. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Layer(XElement elem)
public Layer(XElement elem,
Layer.LayerAppearance appearance)
| Method Detail |
|---|
public void disableShadow()
public void disableShim()
public void disableUnders()
public void enableShadow()
public void enableShim()
public XElement getElement()
public XElement getShadow()
public int getShadowOffset()
public Layer.ShadowPosition getShadowPosition()
public XElement getShim()
public void hideShadow()
public void hideShim()
public void hideUnders()
public boolean isShadow()
public boolean isShim()
public void setShadowPosition(Layer.ShadowPosition shadowPosition)
shadowPosition - the positionpublic void sync(boolean show)
show - true to show the layer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||