|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.droplets.apix.GameBoard.Cell
Contains all the attributes for a cell on a GameBoard
Constructor Summary | |
GameBoard.Cell(Color bg)
Creates a new Cell object, specifying only the background
color. |
|
GameBoard.Cell(Color bg,
java.lang.String imageName,
boolean isScaled)
Creates a new Cell object, specifying the
background color and the image. |
|
GameBoard.Cell(Color bg,
java.lang.String imageName,
boolean isScaled,
int cursor)
Creates a new Cell object, specifying the
background color, the image, and the cursor. |
Method Summary | |
Color |
getBackgroundColor()
Gets the background color of the cell. |
java.lang.String |
getBackgroundImageName()
Gets the name of the background image for this cell. |
int |
getCursor()
Gets the integer value for this component's cursor. |
boolean |
getIsBackgroundImageScaled()
Gets whether or not the background image is scaled. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GameBoard.Cell(Color bg)
Cell
object, specifying only the background
color.bg
- The background colorpublic GameBoard.Cell(Color bg, java.lang.String imageName, boolean isScaled)
Cell
object, specifying the
background color and the image.bg
- The background colorimageName
- The name of the imageisScaled
- Whether or not the image should be scaled.public GameBoard.Cell(Color bg, java.lang.String imageName, boolean isScaled, int cursor)
Cell
object, specifying the
background color, the image, and the cursor.bg
- The background colorimageName
- The name of the imageisScaled
- Whether or not the image should be scaled.cursor
- The Cursor
codeMethod Detail |
public Color getBackgroundColor()
public java.lang.String getBackgroundImageName()
public boolean getIsBackgroundImageScaled()
public int getCursor()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |