|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.ui.AbstractConnector
com.vaadin.client.extensions.AbstractExtensionConnector
com.vaadin.client.extensions.ResponsiveConnector
public class ResponsiveConnector
The client side connector for the Responsive extension.
| Field Summary | |
|---|---|
protected JavaScriptObject |
heightBreakpoints
All the height breakpoints found for this particular instance |
protected static JavaScriptObject |
heightRangeCache
All height-range breakpoints found from the style sheets on the page. |
protected AbstractComponentConnector |
target
The target component which we will monitor for width changes |
protected JavaScriptObject |
widthBreakpoints
All the width breakpoints found for this particular instance |
protected static JavaScriptObject |
widthRangeCache
All width-range breakpoints found from the style sheets on the page. |
| Constructor Summary | |
|---|---|
ResponsiveConnector()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
constructSelectorsForTarget()
Construct the list of selectors that should be matched against in the range selectors |
protected void |
extend(ServerConnector target)
Called when the extension is attached to its parent. |
void |
onElementResize(ElementResizeEvent event)
|
void |
onUnregister()
Event called when connector has been unregistered. |
| Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector |
|---|
setParent |
| Methods inherited from class com.vaadin.client.ui.AbstractConnector |
|---|
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getState, getStateType, hasEventListener, init, isEnabled, onStateChanged, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, unregisterRpc, updateEnabledState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AbstractComponentConnector target
protected JavaScriptObject widthBreakpoints
protected JavaScriptObject heightBreakpoints
protected static JavaScriptObject widthRangeCache
protected static JavaScriptObject heightRangeCache
| Constructor Detail |
|---|
public ResponsiveConnector()
| Method Detail |
|---|
protected void extend(ServerConnector target)
AbstractExtensionConnector
extend in class AbstractExtensionConnectortarget - The connector this extension extendsprotected java.lang.String constructSelectorsForTarget()
public void onUnregister()
ServerConnector
onUnregister in interface ServerConnectoronUnregister in class AbstractConnectorpublic void onElementResize(ElementResizeEvent event)
onElementResize in interface ElementResizeListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||