|
||||||||||
| 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.ui.AbstractComponentConnector
com.vaadin.client.ui.nativebutton.NativeButtonConnector
public class NativeButtonConnector
| Field Summary |
|---|
| Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector |
|---|
SIGNIFICANT_MOVE_THRESHOLD |
| Constructor Summary | |
|---|---|
NativeButtonConnector()
|
|
| Method Summary | |
|---|---|
boolean |
delegateCaptionHandling()
Return true if parent handles caption, false if the paintable handles the caption itself. |
com.vaadin.shared.ui.button.NativeButtonState |
getState()
Returns the shared state object for this connector. |
VNativeButton |
getWidget()
Returns the widget associated with this paintable. |
void |
init()
Called when the connector has been initialized. |
void |
onStateChanged(StateChangeEvent stateChangeEvent)
Notifies the event handler that the state has changed. |
| Methods inherited from class com.vaadin.client.ui.AbstractConnector |
|---|
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, unregisterRpc |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.vaadin.client.ServerConnector |
|---|
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent |
| Methods inherited from interface com.vaadin.shared.Connector |
|---|
getConnectorId |
| Constructor Detail |
|---|
public NativeButtonConnector()
| Method Detail |
|---|
public void init()
AbstractConnector
init in class AbstractConnectorpublic boolean delegateCaptionHandling()
ComponentConnectorThis should always return true and all components should let the parent handle the caption and use other attributes for internal texts in the component
delegateCaptionHandling in interface ComponentConnectordelegateCaptionHandling in class AbstractComponentConnectorpublic void onStateChanged(StateChangeEvent stateChangeEvent)
StateChangeEvent.StateChangeHandler
onStateChanged in interface StateChangeEvent.StateChangeHandleronStateChanged in class AbstractComponentConnectorstateChangeEvent - the state change event with details about the changepublic VNativeButton getWidget()
AbstractComponentConnector
getWidget in interface ComponentConnectorgetWidget in class AbstractComponentConnectorpublic com.vaadin.shared.ui.button.NativeButtonState getState()
AbstractConnector
getState in interface ComponentConnectorgetState in interface ServerConnectorgetState in class AbstractComponentConnector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||