|
ICEfaces 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.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 IResizablepublic 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 IceClientBehaviorHolder
public 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.UIComponentBase
|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||