|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vwp.jLCD.Screen
public class Screen
The screen is the base for all further elements. When a screen was added to an LCD object some widgets can be added to that screen. These widgets then contain the displayed data and influence what is visible on the display
| Constructor Summary | |
|---|---|
Screen()
Default constructor for a new screen |
|
Screen(java.lang.String name)
Constructor for a new screen |
|
| Method Summary | |
|---|---|
void |
addListener(ScreenListener listener)
|
void |
addWidget(Widget w)
Only after a widget is added to a screen the display will show something. |
int |
getDuration()
|
boolean |
getHeartbeat()
The heartbeat feature is some kind of alive-information that shows that the system is still up and running |
int |
getHeight()
A screen has a size that can be independent from the displays size |
java.lang.Integer |
getID()
|
java.lang.String |
getName()
|
int |
getPriority()
The priority of a screen decides if and on what level such a screen is displayed |
int |
getWidth()
A screen has a size that can be independent from the displays size |
void |
ignore()
|
void |
listen()
|
void |
removeListener(ScreenListener listener)
|
void |
setDuration(int duration)
|
void |
setHeartbeat(boolean heartbeat)
The heartbeat feature is some kind of alive-information that shows that the system is still up and running |
void |
setHeight(int height)
A screen has a size that can be independent from the displays size |
void |
setName(java.lang.String name)
|
void |
setPriority(int priority)
The priority of a screen decides if and on what level such a screen is displayed |
void |
setWidth(int width)
A screen has a size that can be independent from the displays size |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Screen()
public Screen(java.lang.String name)
name - the name for the screen| Method Detail |
|---|
public int getPriority()
public void setPriority(int priority)
priority - the new priority for that screenpublic boolean getHeartbeat()
public void setHeartbeat(boolean heartbeat)
heartbeat - if this parameter is set to true the heartbeat feature will be turned onpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the new name for that screenpublic int getWidth()
public void setWidth(int width)
width - the new width this screen needs to havepublic int getHeight()
public void setHeight(int height)
height - the new width this screen needs to havepublic int getDuration()
public void setDuration(int duration)
public java.lang.Integer getID()
public void addListener(ScreenListener listener)
public void removeListener(ScreenListener listener)
public void listen()
public void ignore()
public void addWidget(Widget w)
w - the widget to be added to the screen
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||