javax.rad.application.genui
Class RemoteApplication
java.lang.Object
javax.rad.genui.UIResource<C>
javax.rad.genui.UIComponent<C>
javax.rad.genui.UIContainer<IPanel>
javax.rad.genui.container.UIPanel
javax.rad.application.genui.Content
javax.rad.application.genui.Application
javax.rad.application.genui.RemoteApplication
- All Implemented Interfaces:
- IApplication, IConnectable, IContent, IMessageConstants, ITranslatable, IPanel, IComponent, IContainer, IResource, INamedObject
- Direct Known Subclasses:
- Application, RemoteWorkScreenApplication
public abstract class RemoteApplication
- extends Application
- implements IConnectable
The RemoteApplication
extends the Application
with
an AbstractConnection
.
Methods inherited from class javax.rad.application.genui.Application |
getApplicationPane, getCursor, getLauncher, getSetup, setCursor, setLauncher, showError, showError, showInformation, showInformation, showQuestion, showQuestion |
Methods inherited from class javax.rad.genui.UIContainer |
add, add, add, add, addNotify, beforeAddNotify, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, removeNotify, setLayout, setZOrder, updateTranslation |
Methods inherited from class javax.rad.genui.UIComponent |
capture, createCellFormatter, createNodeFormatter, debug, error, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getComponentUIResource, getCurrentTranslation, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getResource, getSize, getToolTipText, getTranslation, info, invokeAndWait, invokeAndWait, invokeInThread, invokeInThread, invokeLater, invokeLater, isBackgroundSet, isBeforeNotified, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isNotified, isPreferredSizeSet, isTranslationChanged, isTranslationEnabled, isVisible, requestFocus, setBackground, setBounds, setBounds, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocation, setLocationRelativeTo, setMaximumSize, setMaximumSize, setMinimumSize, setMinimumSize, setName, setParent, setPreferredSize, setPreferredSize, setSize, setSize, setToolTipText, setTranslation, setTranslationEnabled, setVisible, translate |
Methods inherited from interface javax.rad.ui.IComponent |
capture, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible |
Methods inherited from interface javax.rad.ui.IContainer |
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
RemoteApplication
public RemoteApplication(UILauncher pLauncher)
- Creates a new instance of
RemoteApplication
with
a desired launcher.
- Parameters:
pLauncher
- the launcher of this application
RemoteApplication
public RemoteApplication(UILauncher pLauncher,
AbstractConnection pConnection)
- Creates a new instance of
RemoteApplication
with a desired
launcher and connection.
- Parameters:
pLauncher
- the launcher of this applicationpConnection
- the connection
getConnection
public AbstractConnection getConnection()
- Gets the communication connection.
- Specified by:
getConnection
in interface IConnectable
- Returns:
- the connection
setConnection
public void setConnection(AbstractConnection pConnection)
- Sets the communication connection.
- Specified by:
setConnection
in interface IConnectable
- Parameters:
pConnection
- the connection
isConnected
public boolean isConnected()
- Checks if the communication is established.
- Specified by:
isConnected
in interface IConnectable
- Returns:
true
if the connection is established
eventAfterLogin
public RemoteApplicationHandler eventAfterLogin()
- Gets the event handler for the after login event.
- Returns:
- the event handler
eventAfterLogout
public RemoteApplicationHandler eventAfterLogout()
- Gets the event handler for the after logout event.
- Returns:
- the event handler
afterLogout
protected void afterLogout()
- Fires the after logout event.
afterLogin
protected void afterLogin()
- Fires the after login event.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.