public abstract class ResizableBase extends javax.faces.component.UIComponentBase implements IResizable, IceClientBehaviorHolder
For more information, see the Resizable Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ResizableBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
ResizableBase() |
| Modifier and Type | Method and Description |
|---|---|
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. |
java.lang.String |
getListenerArgument(java.lang.String event) |
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. |
protected boolean |
isPropertySet(java.lang.String finder) |
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 |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setWidgetVar(java.lang.String widgetVar)
Set the value of the
widgetVar property. |
addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, 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, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentpublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic java.lang.String getFor()
Return the value of the for property.
Contents: Specifies the id of the component to make resizable.
getFor in interface IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic 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 IResizablepublic void setMaxHeight(int maxHeight)
Set the value of the maxHeight property.
Contents: Maximum height of the resizable in pixels.
setMaxHeight in interface IResizablepublic int getMaxHeight()
Return the value of the maxHeight property.
Contents: Maximum height of the resizable in pixels. Default = 'Integer.MAX_VALUE'.
getMaxHeight in interface IResizablepublic void setMaxWidth(int maxWidth)
Set the value of the maxWidth property.
Contents: Maximum width of the resizable in pixels.
setMaxWidth in interface IResizablepublic int getMaxWidth()
Return the value of the maxWidth property.
Contents: Maximum width of the resizable in pixels. Default = 'Integer.MAX_VALUE'.
getMaxWidth in interface IResizablepublic void setMinHeight(int minHeight)
Set the value of the minHeight property.
Contents: Minimum height of the resizable in pixels.
setMinHeight in interface IResizablepublic int getMinHeight()
Return the value of the minHeight property.
Contents: Minimum height of the resizable in pixels. Default = 'Integer.MIN_VALUE'.
getMinHeight in interface IResizablepublic void setMinWidth(int minWidth)
Set the value of the minWidth property.
Contents: Minimum width of the resizable in pixels.
setMinWidth in interface IResizablepublic int getMinWidth()
Return the value of the minWidth property.
Contents: Minimum width of the resizable in pixels. Default = 'Integer.MIN_VALUE'.
getMinWidth in interface IResizablepublic 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 IResizablepublic 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 IResizablepublic void setResizeListener(javax.el.MethodExpression resizeListener)
Set the value of the resizeListener property.
Contents: Listener for the end of resize event.
setResizeListener in interface IResizablepublic javax.el.MethodExpression getResizeListener()
Return the value of the resizeListener property.
Contents: Listener for the end of resize event.
getResizeListener in interface IResizablepublic 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 IResizablepublic java.lang.String getWidgetVar()
Return the value of the widgetVar property.
Contents: Name of the widget to access client-side API.
getWidgetVar in interface IResizableprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.