|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.jdic.screensaver.ScreensaverContext
public class ScreensaverContext
Context object with information about the screensaver.
| Constructor Summary | |
|---|---|
ScreensaverContext()
|
|
| Method Summary | |
|---|---|
java.awt.Component |
getComponent()
Returns the component to be rendered to. |
ScreensaverSettings |
getSettings()
Returns the screensaver settings. |
boolean |
isFullScreen()
Returns true if the screensaver is in full-screen mode or false if it is in preview mode. |
void |
loadOptions(java.lang.String screensaverName)
Loads the screensaver options from the user's home directory. |
void |
option(java.lang.String key,
java.lang.String value)
Sets an option for this screensaver. |
void |
setComponent(java.awt.Component component)
Sets the component to be rendered to. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScreensaverContext()
| Method Detail |
|---|
public java.awt.Component getComponent()
public void setComponent(java.awt.Component component)
component - New value of property component.
public void option(java.lang.String key,
java.lang.String value)
key - The key to setvalue - The value to setpublic void loadOptions(java.lang.String screensaverName)
screensaverName - The name of the screensaver, to load
settings frompublic ScreensaverSettings getSettings()
public boolean isFullScreen()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||