Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.incenter.ngbclient
Class pnlNav  view pnlNav download pnlNav.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byorg.incenter.ngbclient.pnlNav
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, java.awt.event.MouseListener, java.util.Observer, java.io.Serializable

public class pnlNav
extends java.awt.Panel
implements java.awt.event.MouseListener, java.awt.event.ActionListener, java.util.Observer, java.awt.event.ItemListener

Version:

Nested Class Summary
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private)  boolean blnScope
           
(package private)  java.awt.CheckboxGroup cbg
           
private  java.awt.Checkbox chkPlanet
           
private  java.awt.Checkbox chkSystem
           
private  java.awt.Checkbox chkUniverse
           
private  java.awt.Choice cmboRaces
           
private  java.awt.Choice cmboStars
           
(package private)  location current
           
static int DOWN
           
(package private)  governor_remote gov
           
private  java.awt.Label label3
           
private  java.awt.Label lblCtext
           
private  java.awt.Label lblCurrent
           
private  java.awt.Label lblHome
           
(package private)  frmClient parent
           
private  java.awt.Panel pnlBottom
           
private  java.awt.Panel pnlCenter
           
private  java.awt.Panel pnlTop
           
private  java.awt.Panel pnlWest
           
(package private)  race_remote race
           
(package private)  java.util.Vector races
           
(package private)  java.awt.Checkbox rest
           
(package private)  objSocket socket
           
(package private)  java.lang.String[] starDBNames
           
static int UP
           
 
Fields inherited from class java.awt.Panel
 
Fields inherited from class java.awt.Container
 
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
pnlNav(frmClient p)
          Initializes the Form
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          This method is invoked when an action occurs.
 void addMessage(java.lang.String msg)
           
 location getCurrent()
           
 java.awt.PopupMenu getPopup()
           
private  void getStarsChoice()
           
private  void initComponents()
          This method is called from within the constructor to initialize the form.
 void itemStateChanged(java.awt.event.ItemEvent evt)
          This method is called when an item's state is changed.
 void mouseClicked(java.awt.event.MouseEvent evt)
          This method is called when the mouse is clicked (pressed and released in short succession) on a component.
 void mouseEntered(java.awt.event.MouseEvent evt)
          This method is called when the mouse enters a component.
 void mouseExited(java.awt.event.MouseEvent evt)
          This method is called when the mouse exits a component.
 void mousePressed(java.awt.event.MouseEvent evt)
          This method is called when the mouse is pressed over a component.
 void mouseReleased(java.awt.event.MouseEvent evt)
          This method is called when the mouse is released over a component.
 void resetNav(boolean mode)
           
 void setCurrent(location loc)
           
 void setRace(race_remote rc)
           
 void setRaces(java.util.Vector lst)
           
private  void setScope(java.lang.String place)
           
 void setStarList(java.lang.String name)
           
 void setStars()
           
private  void showStar(int upd)
           
 void showStar(java.lang.String dbname)
           
 void update(java.util.Observable oB, java.lang.Object arg)
          This method is called whenever the observable object changes, and has called notifyObservers.
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parent

frmClient parent

gov

governor_remote gov

socket

objSocket socket

starDBNames

java.lang.String[] starDBNames

current

location current

races

java.util.Vector races

cbg

java.awt.CheckboxGroup cbg

race

race_remote race

rest

java.awt.Checkbox rest

UP

public static final int UP
See Also:
Constant Field Values

DOWN

public static final int DOWN
See Also:
Constant Field Values

blnScope

boolean blnScope

pnlTop

private java.awt.Panel pnlTop

pnlBottom

private java.awt.Panel pnlBottom

pnlWest

private java.awt.Panel pnlWest

pnlCenter

private java.awt.Panel pnlCenter

lblCtext

private java.awt.Label lblCtext

lblCurrent

private java.awt.Label lblCurrent

label3

private java.awt.Label label3

lblHome

private java.awt.Label lblHome

cmboRaces

private java.awt.Choice cmboRaces

cmboStars

private java.awt.Choice cmboStars

chkUniverse

private java.awt.Checkbox chkUniverse

chkSystem

private java.awt.Checkbox chkSystem

chkPlanet

private java.awt.Checkbox chkPlanet
Constructor Detail

pnlNav

public pnlNav(frmClient p)
Initializes the Form

Method Detail

setStars

public void setStars()
              throws java.lang.Exception

setRace

public void setRace(race_remote rc)

setRaces

public void setRaces(java.util.Vector lst)

getCurrent

public location getCurrent()

setCurrent

public void setCurrent(location loc)
                throws java.lang.Exception

resetNav

public void resetNav(boolean mode)

getStarsChoice

private void getStarsChoice()
                     throws java.lang.Exception

setScope

private void setScope(java.lang.String place)

setStarList

public void setStarList(java.lang.String name)

showStar

private void showStar(int upd)

showStar

public void showStar(java.lang.String dbname)

getPopup

public java.awt.PopupMenu getPopup()

addMessage

public void addMessage(java.lang.String msg)

update

public void update(java.util.Observable oB,
                   java.lang.Object arg)
Description copied from interface: java.util.Observer
This method is called whenever the observable object changes, and has called notifyObservers. The Observable object can pass arbitrary information in the second parameter.

Specified by:
update in interface java.util.Observer

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent evt)
Description copied from interface: java.awt.event.MouseListener
This method is called when the mouse is clicked (pressed and released in short succession) on a component.

Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent evt)
Description copied from interface: java.awt.event.MouseListener
This method is called when the mouse enters a component.

Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent evt)
Description copied from interface: java.awt.event.MouseListener
This method is called when the mouse exits a component.

Specified by:
mouseExited in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent evt)
Description copied from interface: java.awt.event.MouseListener
This method is called when the mouse is pressed over a component.

Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent evt)
Description copied from interface: java.awt.event.MouseListener
This method is called when the mouse is released over a component.

Specified by:
mouseReleased in interface java.awt.event.MouseListener

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent evt)
Description copied from interface: java.awt.event.ItemListener
This method is called when an item's state is changed.

Specified by:
itemStateChanged in interface java.awt.event.ItemListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

initComponents

private void initComponents()
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the FormEditor.