|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgestalt.render.MinimalRenderer
public class MinimalRenderer
minimal version of a renderer with almost no features. it basically opens a window, creates an eventhandler and a drawablefactory and waits for things to happen.
| Field Summary | |
|---|---|
static boolean |
WORKAROUND_FORCE_QUIT
workaround that forces the VM to actually quit when 'quit()' is called. |
| Constructor Summary | |
|---|---|
MinimalRenderer()
|
|
| Method Summary | |
|---|---|
AbstractBin |
bin()
|
AbstractBin |
bin(int theID)
|
void |
create(DisplayCapabilities theDisplayCapabilities)
|
DisplayCapabilities |
createDisplayCapabilities()
override this method and define 'displaycapabilities' in here. |
Display |
display()
get reference to the 'display' |
DisplayCapabilities |
displaycapabilities()
|
DrawableFactory |
drawablefactory()
|
EventHandler |
event()
|
void |
quit()
|
void |
setDisplayRef(Display theDisplay)
|
void |
setDrawablefactoryRef(DrawableFactory theDrawableFactory)
|
void |
setEventRef(EventHandler theEvent)
|
void |
updateDisplayCapabilities()
refresh 'displaycapabilities' |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean WORKAROUND_FORCE_QUIT
| Constructor Detail |
|---|
public MinimalRenderer()
| Method Detail |
|---|
public void create(DisplayCapabilities theDisplayCapabilities)
theDisplayCapabilities - DisplayCapabilitiespublic void quit()
public final AbstractBin bin()
public AbstractBin bin(int theID)
theID - int
public final Display display()
public final void setDisplayRef(Display theDisplay)
theDisplay - Displaypublic final void updateDisplayCapabilities()
public final DisplayCapabilities displaycapabilities()
public DisplayCapabilities createDisplayCapabilities()
public final DrawableFactory drawablefactory()
public final void setDrawablefactoryRef(DrawableFactory theDrawableFactory)
theDrawableFactory - DrawableFactorypublic final void setEventRef(EventHandler theEvent)
theEvent - EventHandlerpublic EventHandler event()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||