|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.icefaces.ace.component.resizable.ResizableBase
public class ResizableBase
The Resizable is a component that makes another component resizable.
For more information, see the Resizable Wiki Documentation.
Nested Class Summary | |
---|---|
protected static class |
ResizableBase.PropertyKeys
|
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
RENDERER_TYPE
|
Fields inherited from class javax.faces.component.UIComponent |
---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
Constructor Summary | |
---|---|
ResizableBase()
|
Method Summary | |
---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
|
java.lang.String |
getDefaultEventName()
|
java.lang.String |
getDefaultExecute(java.lang.String event)
|
java.lang.String |
getDefaultRender(java.lang.String event)
|
java.lang.String |
getEffect()
Return the value of the effect property. |
java.lang.String |
getEffectDuration()
Return the value of the effectDuration property. |
java.util.Collection<java.lang.String> |
getEventNames()
|
java.lang.String |
getFamily()
|
java.lang.String |
getFor()
Return the value of the for property. |
int |
getGrid()
Return the value of the grid property. |
java.lang.String |
getHandles()
Return the value of the handles property. |
int |
getMaxHeight()
Return the value of the maxHeight property. |
int |
getMaxWidth()
Return the value of the maxWidth property. |
int |
getMinHeight()
Return the value of the minHeight property. |
int |
getMinWidth()
Return the value of the minWidth property. |
javax.el.MethodExpression |
getResizeListener()
Return the value of the resizeListener property. |
java.lang.String |
getWidgetVar()
Return the value of the widgetVar property. |
boolean |
isAnimate()
Return the value of the animate property. |
boolean |
isAspectRatio()
Return the value of the aspectRatio property. |
boolean |
isContainment()
Return the value of the containment property. |
boolean |
isGhost()
Return the value of the ghost property. |
boolean |
isProxy()
Return the value of the proxy property. |
void |
setAnimate(boolean animate)
Set the value of the animate property. |
void |
setAspectRatio(boolean aspectRatio)
Set the value of the aspectRatio property. |
void |
setContainment(boolean containment)
Set the value of the containment property. |
void |
setEffect(java.lang.String effect)
Set the value of the effect property. |
void |
setEffectDuration(java.lang.String effectDuration)
Set the value of the effectDuration property. |
void |
setFor(java.lang.String forValue)
Set the value of the for property. |
void |
setGhost(boolean ghost)
Set the value of the ghost property. |
void |
setGrid(int grid)
Set the value of the grid property. |
void |
setHandles(java.lang.String handles)
Set the value of the handles property. |
void |
setMaxHeight(int maxHeight)
Set the value of the maxHeight property. |
void |
setMaxWidth(int maxWidth)
Set the value of the maxWidth property. |
void |
setMinHeight(int minHeight)
Set the value of the minHeight property. |
void |
setMinWidth(int minWidth)
Set the value of the minWidth property. |
void |
setProxy(boolean proxy)
Set the value of the proxy property. |
void |
setResizeListener(javax.el.MethodExpression resizeListener)
Set the value of the resizeListener property. |
void |
setWidgetVar(java.lang.String widgetVar)
Set the value of the widgetVar property. |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
---|
getClientBehaviors |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
Constructor Detail |
---|
public ResizableBase()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIComponent
public void setAnimate(boolean animate)
Set the value of the animate
property.
Contents: Boolean value that specifies whether the resizing should be animated.
setAnimate
in interface IResizable
public boolean isAnimate()
Return the value of the animate
property.
Contents: Boolean value that specifies whether the resizing should be animated. Default = 'false'.
isAnimate
in interface IResizable
public void setAspectRatio(boolean aspectRatio)
Set the value of the aspectRatio
property.
Contents: Boolean value that specifies whether the aspect ratio of the component should be maintained when resizing.
setAspectRatio
in interface IResizable
public boolean isAspectRatio()
Return the value of the aspectRatio
property.
Contents: Boolean value that specifies whether the aspect ratio of the component should be maintained when resizing. Default = 'false'.
isAspectRatio
in interface IResizable
public void setContainment(boolean containment)
Set the value of the containment
property.
Contents: Boolean value that specifies whether the resizable should be restricted to its parent's boundaries.
setContainment
in interface IResizable
public boolean isContainment()
Return the value of the containment
property.
Contents: Boolean value that specifies whether the resizable should be restricted to its parent's boundaries. Default = 'false'.
isContainment
in interface IResizable
public void setEffect(java.lang.String effect)
Set the value of the effect
property.
Contents: Easing effect for animating. "linear" or "swing". Easing plugins or functions can add more effects.
setEffect
in interface IResizable
public java.lang.String getEffect()
Return the value of the effect
property.
Contents: Easing effect for animating. "linear" or "swing". Easing plugins or functions can add more effects. Default = 'swing'.
getEffect
in interface IResizable
public void setEffectDuration(java.lang.String effectDuration)
Set the value of the effectDuration
property.
Contents: Duration time for animating, in milliseconds. Other possible values: "slow", "normal", "fast".
setEffectDuration
in interface IResizable
public java.lang.String getEffectDuration()
Return the value of the effectDuration
property.
Contents: Duration time for animating, in milliseconds. Other possible values: "slow", "normal", "fast". Default = 'normal'.
getEffectDuration
in interface IResizable
public void setFor(java.lang.String forValue)
Set the value of the for
property.
Contents: Specifies the id of the component to make resizable.
setFor
in interface IResizable
public java.lang.String getFor()
Return the value of the for
property.
Contents: Specifies the id of the component to make resizable.
getFor
in interface IResizable
public void setGhost(boolean ghost)
Set the value of the ghost
property.
Contents: If set to true, a semi-transparent helper element is shown for resizing.
setGhost
in interface IResizable
public boolean isGhost()
Return the value of the ghost
property.
Contents: If set to true, a semi-transparent helper element is shown for resizing. Default = 'false'.
isGhost
in interface IResizable
public void setGrid(int grid)
Set the value of the grid
property.
Contents: Size in pixels of the increments in which the resizable should increase/decrease its size
setGrid
in interface IResizable
public int getGrid()
Return the value of the grid
property.
Contents: Size in pixels of the increments in which the resizable should increase/decrease its size Default = '1'.
getGrid
in interface IResizable
public void setHandles(java.lang.String handles)
Set the value of the handles
property.
Contents: Specifies the handles to use. Possible values are 'n', 'e', 's', 'w', 'ne', 'se', 'sw', and 'sw' (without the quotes and separated by commas). Shortcut "all" enables all handles.
setHandles
in interface IResizable
public java.lang.String getHandles()
Return the value of the handles
property.
Contents: Specifies the handles to use. Possible values are 'n', 'e', 's', 'w', 'ne', 'se', 'sw', and 'sw' (without the quotes and separated by commas). Shortcut "all" enables all handles.
getHandles
in interface IResizable
public void setMaxHeight(int maxHeight)
Set the value of the maxHeight
property.
Contents: Maximum height of the resizable in pixels.
setMaxHeight
in interface IResizable
public int getMaxHeight()
Return the value of the maxHeight
property.
Contents: Maximum height of the resizable in pixels. Default = 'Integer.MAX_VALUE'.
getMaxHeight
in interface IResizable
public void setMaxWidth(int maxWidth)
Set the value of the maxWidth
property.
Contents: Maximum width of the resizable in pixels.
setMaxWidth
in interface IResizable
public int getMaxWidth()
Return the value of the maxWidth
property.
Contents: Maximum width of the resizable in pixels. Default = 'Integer.MAX_VALUE'.
getMaxWidth
in interface IResizable
public void setMinHeight(int minHeight)
Set the value of the minHeight
property.
Contents: Minimum height of the resizable in pixels.
setMinHeight
in interface IResizable
public int getMinHeight()
Return the value of the minHeight
property.
Contents: Minimum height of the resizable in pixels. Default = 'Integer.MIN_VALUE'.
getMinHeight
in interface IResizable
public void setMinWidth(int minWidth)
Set the value of the minWidth
property.
Contents: Minimum width of the resizable in pixels.
setMinWidth
in interface IResizable
public int getMinWidth()
Return the value of the minWidth
property.
Contents: Minimum width of the resizable in pixels. Default = 'Integer.MIN_VALUE'.
getMinWidth
in interface IResizable
public void setProxy(boolean proxy)
Set the value of the proxy
property.
Contents: If set to true, the CSS class "ui-resizable-proxy" will be added to the helper element used to outline the resize.
setProxy
in interface IResizable
public boolean isProxy()
Return the value of the proxy
property.
Contents: If set to true, the CSS class "ui-resizable-proxy" will be added to the helper element used to outline the resize. Default = 'false'.
isProxy
in interface IResizable
public void setResizeListener(javax.el.MethodExpression resizeListener)
Set the value of the resizeListener
property.
Contents: Listener for the end of resize event.
setResizeListener
in interface IResizable
public javax.el.MethodExpression getResizeListener()
Return the value of the resizeListener
property.
Contents: Listener for the end of resize event.
getResizeListener
in interface IResizable
public void setWidgetVar(java.lang.String widgetVar)
Set the value of the widgetVar
property.
Contents: Name of the widget to access client-side API.
setWidgetVar
in interface IResizable
public java.lang.String getWidgetVar()
Return the value of the widgetVar
property.
Contents: Name of the widget to access client-side API.
getWidgetVar
in interface IResizable
public java.util.Collection<java.lang.String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public java.lang.String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender
in interface IceClientBehaviorHolder
public java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute
in interface IceClientBehaviorHolder
public void addClientBehavior(java.lang.String eventName, javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior
in interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior
in class javax.faces.component.UIComponentBase
|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |