|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object portaview.Registry
Registry that contains the static content that everyone else needs. This is an organized way to store shared services that one do not want to pass around as function arguments.
Constructor Summary | |
Registry()
|
Method Summary | |
static PortaViewClient |
getClient()
|
static PortaViewMain |
getMainApplication()
|
static PortaViewServer |
getServer()
|
static boolean |
isMaster()
|
static void |
reset()
Initializes the registry. |
static void |
setClient(PortaViewClient client)
Sets the PortaView client. |
static void |
setMainApplication(PortaViewMain main)
Sets the main application. |
static void |
setMaster(boolean master)
Sets the master state for this PortaView. |
static void |
setServer(PortaViewServer server)
Sets the PortaView server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Registry()
Method Detail |
public static void reset()
public static PortaViewClient getClient()
public static void setClient(PortaViewClient client)
client
- PortaView client.public static PortaViewServer getServer()
public static void setServer(PortaViewServer server)
server
- PortaView server.public static boolean isMaster()
public static void setMaster(boolean master)
master
- true if you want to make this PortaView a master PortaView,
false otherwise.public static PortaViewMain getMainApplication()
public static void setMainApplication(PortaViewMain main)
main
- the main application.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |