Java 2 Útikalauz programozóknak 5.0

elte.java2_utikalauz5.java3d
RasterDemo osztály

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by elte.java2_utikalauz5.java3d.RasterDemo
Megvalósított interfészek:
ImageObserver, MenuContainer, Serializable, Accessible

class RasterDemo
extends Frame

3D kockák megjelenítése egy ablakban.

Mióta:
Java 2 Útikalauz programozóknak 5.0
Forrásfájl:
RasterDemo.java
Letöltés:
RasterDemo.jar

Beágyazott típusok
(package private)  class RasterDemo.ColorCube
           
(package private)  class RasterDemo.MyImageComponent2D
           
(package private)  class RasterDemo.UniverseBuilder
           
 
java.awt.Frame osztálytól örökölt beágyazott típusok
Frame.AccessibleAWTFrame
 
java.awt.Window osztálytól örökölt beágyazott típusok
Window.AccessibleAWTWindow
 
java.awt.Container osztálytól örökölt beágyazott típusok
Container.AccessibleAWTContainer
 
java.awt.Component osztálytól örökölt beágyazott típusok
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Mezők
(package private)  int height1
           
(package private)  int height2
           
(package private)  RasterDemo.MyImageComponent2D myImage1
           
(package private)  RasterDemo.MyImageComponent2D myImage2
           
private static long serialVersionUID
          Verziószám
(package private)  int width1
           
(package private)  int width2
           
 
java.awt.Frame osztálytól örökölt mezők
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
java.awt.Component osztálytól örökölt mezők
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
java.awt.image.ImageObserver interfésztől örökölt mezők
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Konstruktorok
RasterDemo()
           
 
Metódusok
 BranchGroup createSceneGraph()
           
static void main(String[] args)
           
protected  void processWindowEvent(WindowEvent esemény)
          Ablakesemény feldolgozása, bezáráskor kilépés.
 
java.awt.Frame osztálytól örökölt metódusok
addNotify, finalize, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
java.awt.Window osztálytól örökölt metódusok
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, show, toBack, toFront
 
java.awt.Container osztálytól örökölt metódusok
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
java.awt.Component osztálytól örökölt metódusok
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, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
java.lang.Object osztálytól örökölt metódusok
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
java.awt.MenuContainer interfésztől örökölt metódusok
getFont, postEvent
 

Mezők részletezése

width1

int width1

height1

int height1

width2

int width2

height2

int height2

myImage1

RasterDemo.MyImageComponent2D myImage1

myImage2

RasterDemo.MyImageComponent2D myImage2

serialVersionUID

private static final long serialVersionUID
Verziószám

Lásd még:
Konstans mezőértékek
Konstruktorok részletezése

RasterDemo

public RasterDemo()
Metódusok részletezése

main

public static void main(String[] args)

processWindowEvent

protected void processWindowEvent(WindowEvent esemény)
Ablakesemény feldolgozása, bezáráskor kilépés.

Felüldefiniálja:
Window osztály processWindowEvent metódusát
Paraméterek:
esemény - A fellépett esemény

createSceneGraph

public BranchGroup createSceneGraph()

Java 2 Útikalauz programozóknak 5.0