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

Quick Search    Search Deep

com.siemens.mp.color_game
Class Layer  view Layer download Layer.java

java.lang.Object
  extended bycom.siemens.mp.color_game.Layer
Direct Known Subclasses:
Sprite, TiledLayer

public abstract class Layer
extends java.lang.Object


Field Summary
(package private)  int height
           
(package private)  javax.microedition.lcdui.Image image
           
(package private)  boolean visible
           
(package private)  int width
           
(package private)  int x
           
(package private)  int y
           
 
Constructor Summary
protected Layer(javax.microedition.lcdui.Image img)
           
protected Layer(int width, int height)
           
 
Method Summary
protected  void copyAllLayerVariables(Layer l)
           
 int getHeight()
           
protected  javax.microedition.lcdui.Image getLayerImage()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 boolean isVisible()
           
 void move(int dx, int dy)
           
abstract  void paint(javax.microedition.lcdui.Graphics g)
           
(package private)  void setHeightImpl(int h)
           
protected  void setLayerImage(javax.microedition.lcdui.Image img)
           
 void setPosition(int x, int y)
           
 void setVisible(boolean visible)
           
(package private)  void setWidthImpl(int w)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

image

javax.microedition.lcdui.Image image

x

int x

y

int y

width

int width

height

int height

visible

boolean visible
Constructor Detail

Layer

protected Layer(int width,
                int height)

Layer

protected Layer(javax.microedition.lcdui.Image img)
Method Detail

copyAllLayerVariables

protected void copyAllLayerVariables(Layer l)

setLayerImage

protected void setLayerImage(javax.microedition.lcdui.Image img)

getLayerImage

protected javax.microedition.lcdui.Image getLayerImage()

setPosition

public void setPosition(int x,
                        int y)

move

public void move(int dx,
                 int dy)

getX

public final int getX()

getY

public final int getY()

getWidth

public final int getWidth()

getHeight

public final int getHeight()

setVisible

public void setVisible(boolean visible)

isVisible

public final boolean isVisible()

paint

public abstract void paint(javax.microedition.lcdui.Graphics g)

setWidthImpl

void setWidthImpl(int w)

setHeightImpl

void setHeightImpl(int h)