com.bankframe.examples.fe.ui
Class PingSubPanel1
java.lang.Object
   java.awt.Component
java.awt.Component
       java.awt.Container
java.awt.Container
           javax.swing.JComponent
javax.swing.JComponent
               javax.swing.JPanel
javax.swing.JPanel
                   com.bankframe.examples.fe.ui.PingSubPanel1
com.bankframe.examples.fe.ui.PingSubPanel1
- All Implemented Interfaces: 
- ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
- public class PingSubPanel1 
- extends JPanel- implements 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
 
 
 
 
 
 
 
 
 
| Methods inherited from class javax.swing.JComponent | 
| addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, 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, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, removePropertyChangeListener, removePropertyChangeListener, 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 | 
 
 
SUBMIT_PING_CMD
public static String SUBMIT_PING_CMD
PingSubPanel1
public PingSubPanel1()
- PingSubPanel1 constructor.
 Handles any initialization of its subpanels and components where appropriate.
 
PingSubPanel1
public PingSubPanel1(LayoutManager layout)
- PingSubPanel1 constructor. Handles initialization with a specified Layout Manager.
 
- Parameters:
- layout- java.awt.LayoutManager
 
PingSubPanel1
public PingSubPanel1(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
 
actionPerformed
public void actionPerformed(ActionEvent e)
- Invoked when an action occurs.  This method is required when implementing
 the ActionListener interface
 
- 
- Specified by:
- actionPerformedin interface- ActionListener
 
- 
- Parameters:
- e- java.awt.event.ActionEvent
 
getDownArrowLabel
public JLabel getDownArrowLabel()
- Return the downArrowLabel property value.
 
- 
 
- 
- Returns:
- javax.swing.JLabel
 
getHostButton
public JButton getHostButton()
- Return the hostButton property value.
 
- 
 
- 
- Returns:
- javax.swing.JButton
 
getHostButtonLabel
public JLabel getHostButtonLabel()
- Return the hostButtonLabel property value.
 
- 
 
- 
- Returns:
- javax.swing.JLabel
 
getHostTextArea
public JTextArea getHostTextArea()
- Return the hostTextArea property value.
 
- 
 
- 
- Returns:
- javax.swing.JTextArea
 
getHostTextField
public JTextField getHostTextField()
- Return the hostTextField property value.
 
- 
 
- 
- Returns:
- javax.swing.JTextField
 
getHostTextLabel
public JLabel getHostTextLabel()
- Return the hostTextLabel property value.
 
- 
 
- 
- Returns:
- javax.swing.JLabel
 
getLeftArrowLabel
public JLabel getLeftArrowLabel()
- Return the leftArrowLabel property value.
 
- 
 
- 
- Returns:
- javax.swing.JLabel
 
getPingButton
public JButton getPingButton()
- Return the pingButton property value.
 
- 
 
- 
- Returns:
- javax.swing.JButton
 
getPingTextArea
public JTextArea getPingTextArea()
- Return the pingTextArea property value.
 
- 
 
- 
- Returns:
- javax.swing.JTextArea
 
getResultTextArea
public JTextArea getResultTextArea()
- Return the resultTextArea property value.
 
- 
 
- 
- Returns:
- javax.swing.JTextArea
 
getRightArrowLabel
public JLabel getRightArrowLabel()
- Return the rightArrowLabel property value.
 
- 
 
- 
- Returns:
- javax.swing.JLabel
 
getTitleLabel
public 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(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 © 2005, 2007, Oracle. All rights reserved.