com.bankframe.fe.ui
Class EPanel

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by com.bankframe.fe.ui.EPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
BlankEPanel, ChequeReaderEPanel, PingEPanel, PinPadReaderEPanel, PrinterEPanel, RouteEPanel

public abstract class EPanel
extends JPanel

This class is the super class to all EPanels. All EPanels must subclass this class. Although this class doesn't implement any EventListeners, in practice, any class extending this will implement one or more EventListeners, such as ActionListener, MouseListener, KeyListener etc.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Field Summary
 
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
EPanel()
          The EPanel constructor.
EPanel(String ePanelName, EPanelContainer ePanelContainer)
          The EPanel constructor.
 
Method Summary
 String getCategory()
          This method returns the catagory attribute value.
 int getCategoryOrder()
          This method returns the catagoryOrder attribute value.
 EPanelContainer getEPanelContainer()
          This method returns the EPanelContainer object.
 String getEPanelName()
          This method returns the ePanelName attribute value.
 String getMasterCategory()
          This method returns the master catagory attribute value.
 String getPanelClass()
          This method returns the ePanelClass attribute value.
 String getProcessDescription()
          This method gets the process description.
 int getProcessOrder()
          This method returns the processOrder attribute value.
abstract  void madeVisible()
          This method must be implemented by EPanel subclasses.
 void setCategory(String category)
          This method sets the catagory.
 void setCategoryOrder(int categoryOrder)
          This method sets the catagory order.
 void setEPanelContainer(EPanelContainer ePanelContainer)
          This method sets the ePanelContainer.
 void setEPanelName(String ePanelName)
          This method sets the EPanel name.
 void setMasterCategory(String masterCategory)
          This method sets the master catagory.
 void setPanelClass(String panelClass)
          This method sets the ePanelClass.
 void setProcessDescription(String processDescr)
          This method sets the process description.
 void setProcessOrder(int processOrder)
          This method sets the processOrder.
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EPanel

public EPanel()
The EPanel constructor.


EPanel

public EPanel(String ePanelName,
              EPanelContainer ePanelContainer)
The EPanel constructor.

Parameters:
ePanelName - String
ePanelContainer - EPanelContainer
Method Detail

getCategory

public String getCategory()
This method returns the catagory attribute value.

Returns:
the category attribute value

getCategoryOrder

public int getCategoryOrder()
This method returns the catagoryOrder attribute value.

Returns:
the categery order

getEPanelContainer

public EPanelContainer getEPanelContainer()
This method returns the EPanelContainer object.

Returns:
the EPanelContainer

getEPanelName

public String getEPanelName()
This method returns the ePanelName attribute value.

Returns:
the EPanel name

getMasterCategory

public String getMasterCategory()
This method returns the master catagory attribute value.

Returns:
the master category

getPanelClass

public String getPanelClass()
This method returns the ePanelClass attribute value.

Returns:
the EPanel class attribute

getProcessDescription

public String getProcessDescription()
This method gets the process description.

Returns:
the String name of the process description

getProcessOrder

public int getProcessOrder()
This method returns the processOrder attribute value.

Returns:
the process order

madeVisible

public abstract void madeVisible()
This method must be implemented by EPanel subclasses. It is called by the EPanelContainer whenever a EPanel is displayed.


setCategory

public void setCategory(String category)
This method sets the catagory.

Parameters:
category - the new category

setCategoryOrder

public void setCategoryOrder(int categoryOrder)
This method sets the catagory order.

Parameters:
categoryOrder - the new category order

setEPanelContainer

public void setEPanelContainer(EPanelContainer ePanelContainer)
This method sets the ePanelContainer.

Parameters:
ePanelContainer - the new EPanelContainer

setEPanelName

public void setEPanelName(String ePanelName)
This method sets the EPanel name.

Parameters:
ePanelName - the new EPanel name

setMasterCategory

public void setMasterCategory(String masterCategory)
This method sets the master catagory.

Parameters:
masterCategory - the new master category

setPanelClass

public void setPanelClass(String panelClass)
This method sets the ePanelClass.

Parameters:
panelClass - the new EPanel class

setProcessDescription

public void setProcessDescription(String processDescr)
This method sets the process description.

Parameters:
processDescr - the new process description.

setProcessOrder

public void setProcessOrder(int processOrder)
This method sets the processOrder.

Parameters:
processOrder - the new processOrder


Copyright © 2005, 2007, Oracle. All rights reserved.