jap.forward
Class JAPConfForwardingState

java.lang.Object
  extended by jap.AbstractJAPConfModule
      extended by jap.forward.JAPConfForwardingState
All Implemented Interfaces:
JAPHelpContext.IHelpContext

public class JAPConfForwardingState
extends AbstractJAPConfModule

This is the configuration GUI for the JAP forwarding state component.


Nested Class Summary
 
Nested classes/interfaces inherited from class jap.AbstractJAPConfModule
AbstractJAPConfModule.FontSizeObserver
 
Field Summary
private  MessageSystem m_messageSystem
          This is the internal message system of this module.
 
Fields inherited from class jap.AbstractJAPConfModule
LOCK_OBSERVABLE, m_savePoint
 
Constructor Summary
JAPConfForwardingState()
          Constructor for JAPConfForwardingState.
 
Method Summary
private  javax.swing.JPanel createForwardingClientStatePanel()
          Creates the routing client state panel.
private  javax.swing.JPanel createForwardingDisabledStatePanel()
          Creates the state panel, for the case of a disabled forwarding server and client.
private  javax.swing.JPanel createForwardingServerStatePanel()
          Creates the forwarding server state panel.
private  javax.swing.JPanel createForwardingStatePanel()
          Creates the forwarding state panel, which switches between the server state panel, the client state panel and the forwarding-disabled state panel, if the forwarding mode is changed.
 java.lang.String getHelpContext()
           
 java.lang.String getTabTitle()
          Returns the title for the forwarding state component within the configuration tree.
 void recreateRootPanel()
          Creates the forwarding state root panel with all child components.
 
Methods inherited from class jap.AbstractJAPConfModule
cancelPressed, createSavePoint, createTabbedRootPanelContraints, fontSizeChanged, getHelpExtractionDisplayContext, getRootPanel, initObservers, okPressed, onCancelPressed, onOkPressed, onResetToDefaultsPressed, onRootPanelShown, onUpdateValues, resetToDefaultsPressed, updateValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_messageSystem

private MessageSystem m_messageSystem
This is the internal message system of this module.

Constructor Detail

JAPConfForwardingState

public JAPConfForwardingState()
Constructor for JAPConfForwardingState. We do some initialization here.

Method Detail

getHelpContext

public java.lang.String getHelpContext()
Returns:
String

recreateRootPanel

public void recreateRootPanel()
Creates the forwarding state root panel with all child components.

Specified by:
recreateRootPanel in class AbstractJAPConfModule

getTabTitle

public java.lang.String getTabTitle()
Returns the title for the forwarding state component within the configuration tree.

Specified by:
getTabTitle in class AbstractJAPConfModule
Returns:
The title for the forwarding state leaf within the tree.

createForwardingServerStatePanel

private javax.swing.JPanel createForwardingServerStatePanel()
Creates the forwarding server state panel. This panel should only be visible, when the forwarding server is running.

Returns:
The state panel which is shown, if the forwarding server is running.

createForwardingClientStatePanel

private javax.swing.JPanel createForwardingClientStatePanel()
Creates the routing client state panel. This panel should only be visible, when the forwarding client is running.

Returns:
The state panel which is shown, if the forwarding client is running.

createForwardingDisabledStatePanel

private javax.swing.JPanel createForwardingDisabledStatePanel()
Creates the state panel, for the case of a disabled forwarding server and client. This panel should only be visible, if we are in ROUTING_MODE_DISABLED.

Returns:
The state panel which is shown, if neither the forwarding client nor the forwarding server is running.

createForwardingStatePanel

private javax.swing.JPanel createForwardingStatePanel()
Creates the forwarding state panel, which switches between the server state panel, the client state panel and the forwarding-disabled state panel, if the forwarding mode is changed.

Returns:
The forwarding state panel.