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

Quick Search    Search Deep

schiffeversenken
Class GUI.PrintField  view GUI.PrintField download GUI.PrintField.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byschiffeversenken.GUI.PrintField
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Enclosing class:
GUI

class GUI.PrintField
extends java.awt.Container


Nested Class Summary
 
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)  java.awt.Cursor c_h
           
(package private)  java.awt.Cursor c_n
           
(package private)  java.awt.Cursor c_s
           
(package private)  java.awt.Cursor c_v
           
static int CURSOR_HORIZONTAL
           
static int CURSOR_NORMAL
           
static int CURSOR_SHOOT
           
static int CURSOR_VERTICAL
           
(package private)  java.awt.Toolkit myKit
           
 
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
GUI.PrintField(GUI g)
           
 
Method Summary
 void paint(java.awt.Graphics g)
          Paints this container.
 void paintCommponents(java.awt.Graphics field)
           
 void paintFieldShips(java.awt.Graphics g)
           
 void paintShips(int shipKind, int xachse, int yachse, java.awt.Graphics field)
           
 void setCursor(int cursor)
           
 void zeichneSchiff(java.awt.Graphics ship, int x, int y, int width, int height, java.awt.Color c)
           
 void zeichneSchiffe(java.awt.Graphics g)
           
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addNotify, 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, 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, getAccessibleContext, 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

c_h

java.awt.Cursor c_h

c_v

java.awt.Cursor c_v

c_n

java.awt.Cursor c_n

c_s

java.awt.Cursor c_s

myKit

java.awt.Toolkit myKit

CURSOR_NORMAL

public static final int CURSOR_NORMAL
See Also:
Constant Field Values

CURSOR_HORIZONTAL

public static final int CURSOR_HORIZONTAL
See Also:
Constant Field Values

CURSOR_VERTICAL

public static final int CURSOR_VERTICAL
See Also:
Constant Field Values

CURSOR_SHOOT

public static final int CURSOR_SHOOT
See Also:
Constant Field Values
Constructor Detail

GUI.PrintField

public GUI.PrintField(GUI g)
Method Detail

setCursor

public void setCursor(int cursor)

paint

public void paint(java.awt.Graphics g)
Description copied from class: java.awt.Container
Paints this container. The implementation of this method in this class forwards to any lightweight components in this container. If this method is subclassed, this method should still be invoked as a superclass method so that lightweight components are properly drawn.


paintCommponents

public void paintCommponents(java.awt.Graphics field)

zeichneSchiffe

public void zeichneSchiffe(java.awt.Graphics g)

paintShips

public void paintShips(int shipKind,
                       int xachse,
                       int yachse,
                       java.awt.Graphics field)

zeichneSchiff

public void zeichneSchiff(java.awt.Graphics ship,
                          int x,
                          int y,
                          int width,
                          int height,
                          java.awt.Color c)

paintFieldShips

public void paintFieldShips(java.awt.Graphics g)