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

Quick Search    Search Deep

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

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byorg.incenter.ngbclient.planetInfo
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.awt.event.MouseMotionListener, java.util.Observer, java.io.Serializable

public class planetInfo
extends java.awt.Panel
implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener, 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
private  java.awt.Button btnBasic
           
private  java.awt.Button btnFactories
           
private  java.awt.Button btnMaterials
           
private  java.awt.Button btnModules
           
private  java.awt.Button btnShips
           
(package private)  java.awt.ScrollPane cpanel
           
(package private)  java.awt.Point currentPoint
           
(package private)  sector_remote currentSector
           
(package private)  java.awt.Checkbox fromSpace
           
(package private)  frmGetSector getSector
           
(package private)  governor_remote gov
           
private  java.awt.Label lblPlanetName
           
(package private)  java.awt.Label lblXY
           
(package private)  planetMap map
           
(package private)  planetOrbit orbit
           
private  java.awt.Panel panel1
           
(package private)  planetArea parent
           
(package private)  planet_remote planet
           
(package private)  java.awt.Panel pnl
           
(package private)  race_remote race
           
private  java.awt.ScrollPane scrollCenter
           
(package private)  objSocket socket
           
private  java.awt.TextArea tareaInfo
           
(package private)  java.awt.TextArea tareaInfo2
           
 
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
planetInfo(planetArea p, planet_remote pl, objSocket sock)
          Initializes the Form
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          This method is invoked when an action occurs.
private  void addFactories(java.awt.Panel p)
           
private  void addShips(java.awt.Panel p)
           
 java.awt.Point getCurrentPoint()
           
 void getCurrentSector(sectorUser su)
           
private  void initComponents()
          This method is called from within the constructor to initialize the form.
 void initCurrentSector()
          call this before asking for a sector
 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 mouseDragged(java.awt.event.MouseEvent evt)
          This method is called when the mouse is moved over a component while a button has been pressed.
 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 mouseMoved(java.awt.event.MouseEvent evt)
          This method is called when the mouse is moved over a component while no button is pressed.
 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.
private  void reportBasic()
           
private  void reportModules()
           
 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

map

planetMap map

orbit

planetOrbit orbit

fromSpace

java.awt.Checkbox fromSpace

pnl

java.awt.Panel pnl

gov

governor_remote gov

race

race_remote race

currentPoint

java.awt.Point currentPoint

currentSector

sector_remote currentSector

getSector

frmGetSector getSector

cpanel

java.awt.ScrollPane cpanel

lblPlanetName

private java.awt.Label lblPlanetName

panel1

private java.awt.Panel panel1

btnBasic

private java.awt.Button btnBasic

btnModules

private java.awt.Button btnModules

btnMaterials

private java.awt.Button btnMaterials

btnShips

private java.awt.Button btnShips

btnFactories

private java.awt.Button btnFactories

scrollCenter

private java.awt.ScrollPane scrollCenter

tareaInfo

private java.awt.TextArea tareaInfo

socket

objSocket socket

parent

planetArea parent

planet

planet_remote planet

lblXY

java.awt.Label lblXY

tareaInfo2

java.awt.TextArea tareaInfo2
Constructor Detail

planetInfo

public planetInfo(planetArea p,
                  planet_remote pl,
                  objSocket sock)
           throws java.lang.Exception
Initializes the Form

Method Detail

getCurrentPoint

public java.awt.Point getCurrentPoint()

getCurrentSector

public void getCurrentSector(sectorUser su)

initCurrentSector

public void initCurrentSector()
call this before asking for a sector


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.


reportBasic

private void reportBasic()

reportModules

private void reportModules()

addShips

private void addShips(java.awt.Panel p)

addFactories

private void addFactories(java.awt.Panel p)

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

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent evt)
Description copied from interface: java.awt.event.MouseMotionListener
This method is called when the mouse is moved over a component while no button is pressed.

Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent evt)
Description copied from interface: java.awt.event.MouseMotionListener
This method is called when the mouse is moved over a component while a button has been pressed.

Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

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