|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deken.game.sprites.Sprite
org.deken.game.component.GComponent
org.deken.game.component.GTextContainer
org.deken.game.component.GButton
org.deken.game.component.GWindow.CloseButton
public class GWindow.CloseButton
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.deken.game.component.GComponent |
---|
GComponent.Alignment, GComponent.MouseActions |
Field Summary |
---|
Fields inherited from class org.deken.game.component.GButton |
---|
ANIMATION_DEFAULT, ANIMATION_DIABLED, ANIMATION_PRESSED, ANIMATION_ROLLOVER, animationIndex, buttonListeners, buttonNotify |
Fields inherited from class org.deken.game.component.GTextContainer |
---|
baseAnimation, gText |
Fields inherited from class org.deken.game.component.GComponent |
---|
horizontalAlignment, id, invalid, keyPolling, mouseActions, parent, requestKeyPolling, screenHeight, screenWidth, verticalAlignment, xOffSet, yOffSet |
Fields inherited from class org.deken.game.sprites.Sprite |
---|
boundingBox, collisionMap, location, size |
Constructor Summary | |
---|---|
GWindow.CloseButton(GLabel heading)
|
Method Summary | |
---|---|
void |
draw(java.awt.Graphics2D graphics,
int xOffset,
int yOffset)
Draws the sprite with the current offset. |
void |
validate(java.awt.Graphics2D graphics)
|
Methods inherited from class org.deken.game.component.GButton |
---|
addAnimation, addFontColor, addGText, addInputAction, addKeyAction, addListener, copy, copyGButtonBase, getAlignment, getAnimation, getAnimation, getFontHighlightColor, getImage, getInputActionIds, getKeyAssociated, hasListeners, notifyListener, notifyListener, setAlignment, setAnimation, setEnabled, setFontHighlightColor, setGText, setKeyAssociated, setMonitored, spriteCollison, update |
Methods inherited from class org.deken.game.component.GTextContainer |
---|
getBaseAnimation, getGText, setInvalid |
Methods inherited from class org.deken.game.component.GComponent |
---|
addMouseAction, copyBase, getHorizontalAlignment, getMouseActions, getParent, getVerticalAlignment, getXLocation, getYLocation, isEnabled, positionHorizontalAlignment, positionVerticalAlignment, requestKeyPolling, setHorizontalAlignment, setKeyPolling, setParent, setVerticalAlignment |
Methods inherited from class org.deken.game.sprites.Sprite |
---|
getBounds, getDepth, getHeight, getLocation, getName, getSize, getWidth, removeFromMap, setBoundingBox, setBoundingBox, setCollisionMap, setLocation, setName, setSize, toString, updateLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GWindow.CloseButton(GLabel heading)
Method Detail |
---|
public void draw(java.awt.Graphics2D graphics, int xOffset, int yOffset)
GComponent
draw
in class GButton
public void validate(java.awt.Graphics2D graphics)
validate
in class GButton
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |