|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.terminal.gwt.client.ui.AbstractConnector com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector com.vaadin.terminal.gwt.client.ui.AbstractComponentContainerConnector com.vaadin.terminal.gwt.client.ui.window.WindowConnector
public class WindowConnector
Field Summary |
---|
Fields inherited from class com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector |
---|
styleNames |
Constructor Summary | |
---|---|
WindowConnector()
|
Method Summary | |
---|---|
boolean |
delegateCaptionHandling()
Return true if parent handles caption, false if the paintable handles the caption itself. |
WindowState |
getState()
Returns the shared state object for this connector. |
VWindow |
getWidget()
Returns the widget associated with this paintable. |
protected void |
init()
Called when the connector has been initialized. |
void |
layout()
|
void |
onBeforeShortcutAction(com.google.gwt.user.client.Event e)
This method is called by ShortcutActionHandler before firing the shortcut if the Paintable is currently focused (aka the target of the shortcut action). |
void |
onConnectorHierarchyChange(ConnectorHierarchyChangeEvent event)
|
void |
onUnregister()
Event called when connector has been unregistered. |
void |
postLayout()
|
void |
setWindowOrderAndPosition()
Gives the WindowConnector an order number. |
void |
updateCaption(ComponentConnector component)
Update child components caption, description and error message. |
void |
updateFromUIDL(UIDL uidl,
ApplicationConnection client)
|
Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractComponentContainerConnector |
---|
addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents |
Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector |
---|
createWidget, getLayoutManager, getTooltipInfo, hasEventListener, isReadOnly, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, updateEnabledState, updateWidgetStyleNames |
Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractConnector |
---|
addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, getChildren, getConnection, getConnectorId, getParent, getRpcImplementations, isEnabled, registerRpc, 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.terminal.gwt.client.ComponentConnector |
---|
getLayoutManager, getTooltipInfo, hasEventListener, isReadOnly, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled |
Methods inherited from interface com.vaadin.terminal.gwt.client.ServerConnector |
---|
addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, isEnabled, setChildren, setParent, updateEnabledState |
Methods inherited from interface com.vaadin.terminal.gwt.client.Connector |
---|
getConnectorId |
Methods inherited from interface com.vaadin.terminal.gwt.client.ComponentContainerConnector |
---|
addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents |
Constructor Detail |
---|
public WindowConnector()
Method Detail |
---|
public boolean delegateCaptionHandling()
ComponentConnector
This 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 ComponentConnector
delegateCaptionHandling
in class AbstractComponentConnector
protected void init()
AbstractConnector
init
in class AbstractComponentConnector
public void onUnregister()
ServerConnector
onUnregister
in interface ServerConnector
onUnregister
in class AbstractComponentConnector
public void updateFromUIDL(UIDL uidl, ApplicationConnection client)
updateFromUIDL
in interface Paintable
public void updateCaption(ComponentConnector component)
ComponentContainerConnector
Each component is responsible for maintaining its caption, description and error message. In most cases components doesn't want to do that and those elements reside outside of the component. Because of this layouts must provide service for it's childen to show those elements for them.
updateCaption
in interface ComponentContainerConnector
component
- Child component for which service is requested.public void onBeforeShortcutAction(com.google.gwt.user.client.Event e)
ShortcutActionHandler.BeforeShortcutActionListener
onBeforeShortcutAction
in interface ShortcutActionHandler.BeforeShortcutActionListener
e
- the event that triggered the shortcut actionpublic VWindow getWidget()
AbstractComponentConnector
getWidget
in interface ComponentConnector
getWidget
in class AbstractComponentConnector
public void onConnectorHierarchyChange(ConnectorHierarchyChangeEvent event)
onConnectorHierarchyChange
in interface ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
onConnectorHierarchyChange
in class AbstractComponentContainerConnector
public void layout()
layout
in interface SimpleManagedLayout
public void postLayout()
postLayout
in interface PostLayoutListener
public WindowState getState()
AbstractConnector
getState
in interface ComponentConnector
getState
in interface Connector
getState
in class AbstractComponentConnector
public void setWindowOrderAndPosition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |