com.bankframe.examples.fe.ui
Class PingSubPanel1

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended bycom.bankframe.examples.fe.ui.PingSubPanel1
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class PingSubPanel1
extends javax.swing.JPanel
implements java.awt.event.ActionListener

This class makes up the top panel of the PingEPanel class. It contains some graphical components that demonstrate how the Ping service is called.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Field Summary
static java.lang.String SUBMIT_PING_CMD
           
 
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
PingSubPanel1()
          PingSubPanel1 constructor.
PingSubPanel1(boolean isDoubleBuffered)
          PingSubPanel1 constructor.
PingSubPanel1(java.awt.LayoutManager layout)
          PingSubPanel1 constructor.
PingSubPanel1(java.awt.LayoutManager layout, boolean isDoubleBuffered)
          PingSubPanel1 constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Invoked when an action occurs.
 javax.swing.JLabel getDownArrowLabel()
          Return the downArrowLabel property value.
 javax.swing.JButton getHostButton()
          Return the hostButton property value.
 javax.swing.JLabel getHostButtonLabel()
          Return the hostButtonLabel property value.
 javax.swing.JTextArea getHostTextArea()
          Return the hostTextArea property value.
 javax.swing.JTextField getHostTextField()
          Return the hostTextField property value.
 javax.swing.JLabel getHostTextLabel()
          Return the hostTextLabel property value.
 javax.swing.JLabel getLeftArrowLabel()
          Return the leftArrowLabel property value.
 javax.swing.JButton getPingButton()
          Return the pingButton property value.
 javax.swing.JTextArea getPingTextArea()
          Return the pingTextArea property value.
 javax.swing.JTextArea getResultTextArea()
          Return the resultTextArea property value.
 javax.swing.JLabel getRightArrowLabel()
          Return the rightArrowLabel property value.
 javax.swing.JLabel getTitleLabel()
          Return the titleLabel property value.
 void handleGetHostCommand()
          This method is called when the get host button is pressed on the sub panel.
static void main(java.lang.String[] args)
          This method is for testing only.
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUBMIT_PING_CMD

public static java.lang.String SUBMIT_PING_CMD
Constructor Detail

PingSubPanel1

public PingSubPanel1()
PingSubPanel1 constructor. Handles any initialization of its subpanels and components where appropriate.


PingSubPanel1

public PingSubPanel1(java.awt.LayoutManager layout)
PingSubPanel1 constructor. Handles initialization with a specified Layout Manager.

Parameters:
layout - java.awt.LayoutManager

PingSubPanel1

public PingSubPanel1(java.awt.LayoutManager layout,
                     boolean isDoubleBuffered)
PingSubPanel1 constructor. Handles initialization with LayoutManager and double buffered.

Parameters:
layout - java.awt.LayoutManager
isDoubleBuffered - boolean

PingSubPanel1

public PingSubPanel1(boolean isDoubleBuffered)
PingSubPanel1 constructor. Handles any initialization of its subpanels and components where appropriate.

Parameters:
isDoubleBuffered - boolean
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs. This method is required when implementing the ActionListener interface

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - java.awt.event.ActionEvent

getDownArrowLabel

public javax.swing.JLabel getDownArrowLabel()
Return the downArrowLabel property value.

Returns:
javax.swing.JLabel

getHostButton

public javax.swing.JButton getHostButton()
Return the hostButton property value.

Returns:
javax.swing.JButton

getHostButtonLabel

public javax.swing.JLabel getHostButtonLabel()
Return the hostButtonLabel property value.

Returns:
javax.swing.JLabel

getHostTextArea

public javax.swing.JTextArea getHostTextArea()
Return the hostTextArea property value.

Returns:
javax.swing.JTextArea

getHostTextField

public javax.swing.JTextField getHostTextField()
Return the hostTextField property value.

Returns:
javax.swing.JTextField

getHostTextLabel

public javax.swing.JLabel getHostTextLabel()
Return the hostTextLabel property value.

Returns:
javax.swing.JLabel

getLeftArrowLabel

public javax.swing.JLabel getLeftArrowLabel()
Return the leftArrowLabel property value.

Returns:
javax.swing.JLabel

getPingButton

public javax.swing.JButton getPingButton()
Return the pingButton property value.

Returns:
javax.swing.JButton

getPingTextArea

public javax.swing.JTextArea getPingTextArea()
Return the pingTextArea property value.

Returns:
javax.swing.JTextArea

getResultTextArea

public javax.swing.JTextArea getResultTextArea()
Return the resultTextArea property value.

Returns:
javax.swing.JTextArea

getRightArrowLabel

public javax.swing.JLabel getRightArrowLabel()
Return the rightArrowLabel property value.

Returns:
javax.swing.JLabel

getTitleLabel

public javax.swing.JLabel getTitleLabel()
Return the titleLabel property value.

Returns:
javax.swing.JLabel

handleGetHostCommand

public void handleGetHostCommand()
This method is called when the get host button is pressed on the sub panel. It uses the BankFrameResource.properties file to find the host, and then places the host name in the text field of the lower panel. It is called from the actionPerformed method.


main

public static void main(java.lang.String[] args)
This method is for testing only. It acts as a main entrypoint - starts the part when it is run as an application

Parameters:
args - java.lang.String[]


Copyright © 2004 Siebel Systems, Inc. All rights reserved.