|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Layout
Title: Layout
Description:
Copyright: Copyright (c) Mar 4, 2015
Method Summary | |
---|---|
void |
addComponent(GComponent gComponent,
LayoutLocation layoutLocation)
Adds a component to this Layout based on the LayoutLocation parameters. |
void |
draw(java.awt.Graphics2D graphics)
Draws this layout to the screen. |
GComponent |
getComponentByName(java.lang.String name)
Returns a Component in the is Layout by its name. |
java.util.List<GComponent> |
getComponents()
Get the complete list of components in this Layout |
int |
getScreenHeight()
Get the screen height associated to this layout |
int |
getScreenWidth()
Get the screen width associated to this Layout |
void |
update(long elapseTime)
Game loop update method. |
Method Detail |
---|
void addComponent(GComponent gComponent, LayoutLocation layoutLocation)
gComponent
- layoutLocation
- java.util.List<GComponent> getComponents()
void update(long elapseTime)
elapseTime
- void draw(java.awt.Graphics2D graphics)
graphics
- GComponent getComponentByName(java.lang.String name)
name
-
int getScreenWidth()
int getScreenHeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |