|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.display.Displayable
public abstract class Displayable
A Displayable object can be placed on the pen display. The
Displayable UI takes over the entire display. It is set on a
Display using Display.setCurrent(Displayable).
| Method Summary | |
|---|---|
protected Image |
getSurface()
Gets the drawing surface of the Displayable. |
boolean |
isCurrent()
Indicates if this Displayable is set as the current
Displayable on the pen display. |
protected void |
notifyHidden(Display d)
This is invoked by the system to notify this Displayable
when it is not current. |
protected void |
notifyShown(Display d)
This is invoked by the system to notify this Displayable
when it has become current. |
protected void |
notifySystemTrayHidden()
This is invoked by the system to notify the Displayable when
the system tray has been hidden. |
protected void |
notifySystemTrayShown()
This is invoked by the system to notify the Displayable when
the system tray has been displayed. |
protected abstract void |
paint(Graphics graphics)
Invoked by the system to allow the Displayable to render
contents using the graphics context. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected void notifyShown(Display d)
Displayable
when it has become current. Overriding methods should call
super.notifyShown(d) before its own implementation.
Failure to do this could result in unknown behavior.
d - The Display on which this Displayale is
currentprotected void notifyHidden(Display d)
Displayable
when it is not current. Overriding methods should call
super.notifyHidden(d) before its own implementation.
Failure to do this could result in unknown behavior.
d - The Display on which this Displayale was
currentprotected void notifySystemTrayShown()
Displayable when
the system tray has been displayed.
protected void notifySystemTrayHidden()
Displayable when
the system tray has been hidden.
The default implementation would schedule a paint call that allows the
Displayable to render to the full screen.
public boolean isCurrent()
Displayable is set as the current
Displayable on the pen display.
true if the Displayable is current;
false if the Displayable is not current.protected Image getSurface()
Displayable. If the surface is the
physical display, then a copy of the display buffer is returned.
Image that is the drawing surface.protected abstract void paint(Graphics graphics)
Displayable to render
contents using the graphics context.
graphics - the Graphics context to be used to render on the Displayable.
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||