javax.rad.application.genui
Class RemoteWorkScreen

java.lang.Object
  extended by javax.rad.genui.UIResource<C>
      extended by javax.rad.genui.UIComponent<C>
          extended by javax.rad.genui.UIContainer<IPanel>
              extended by javax.rad.genui.container.UIPanel
                  extended by javax.rad.application.genui.Content
                      extended by javax.rad.application.genui.WorkScreen
                          extended by javax.rad.application.genui.RemoteWorkScreen
All Implemented Interfaces:
IConnectable, IContent, IMessageConstants, IWorkScreen, ITranslatable, IPanel, IComponent, IContainer, IResource, INamedObject

public class RemoteWorkScreen
extends WorkScreen
implements IConnectable

The RemoteWorkScreen extends the WorkScreen with an AbstractConnection.


Field Summary
 
Fields inherited from class javax.rad.application.genui.WorkScreen
application
 
Fields inherited from class javax.rad.genui.container.UIPanel
imgBack
 
Fields inherited from class javax.rad.genui.UIContainer
components
 
Fields inherited from class javax.rad.genui.UIComponent
lLastTranslationModified, parent
 
Fields inherited from class javax.rad.genui.UIResource
uiResource
 
Fields inherited from interface javax.rad.application.IMessageConstants
MESSAGE_BUTTON_OK, MESSAGE_BUTTON_OK_CANCEL, MESSAGE_BUTTON_YES_NO, MESSAGE_ICON_ERROR, MESSAGE_ICON_INFO, MESSAGE_ICON_QUESTION, MESSAGE_ICON_WARNING
 
Constructor Summary
RemoteWorkScreen(IWorkScreenApplication pApplication)
          Creates a new instance of RemoteWorkScreen for a parent application.
RemoteWorkScreen(IWorkScreenApplication pApplication, AbstractConnection pConnection)
          Creates a new instance of RemoteWorkScreen with a desired launcher and connection.
 
Method Summary
 RemoteWorkScreenApplication getApplication()
          Gets the main application of this work-screen.
 AbstractConnection getConnection()
          Gets the communication connection.
 boolean isConnected()
          Checks if the communication is established.
 void setConnection(AbstractConnection pConnection)
          Sets the communication connection.
 
Methods inherited from class javax.rad.application.genui.WorkScreen
getParameter, isModal, notifyActivate, reload, save, setModal, setParameter, showError, showError, showInformation, showInformation, showQuestion, showQuestion
 
Methods inherited from class javax.rad.application.genui.Content
getOpener, notifyDestroy, notifyVisible, setOpener
 
Methods inherited from class javax.rad.genui.container.UIPanel
getBackgroundImage, setBackgroundImage
 
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, getCursor, 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, setCursor, 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 class javax.rad.genui.UIResource
equals, getUIResource, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.application.IContent
getOpener, notifyDestroy, notifyVisible, setOpener
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, 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, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 
Methods inherited from interface javax.rad.ui.IContainer
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout
 

Constructor Detail

RemoteWorkScreen

public RemoteWorkScreen(IWorkScreenApplication pApplication)
Creates a new instance of RemoteWorkScreen for a parent application.

Parameters:
pApplication - the parent application

RemoteWorkScreen

public RemoteWorkScreen(IWorkScreenApplication pApplication,
                        AbstractConnection pConnection)
Creates a new instance of RemoteWorkScreen with a desired launcher and connection.

Parameters:
pApplication - the parent application
pConnection - the connection
Method Detail

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

getApplication

public RemoteWorkScreenApplication getApplication()
Gets the main application of this work-screen.

Specified by:
getApplication in interface IWorkScreen
Overrides:
getApplication in class WorkScreen
Returns:
the main application base


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.