|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
net.sourceforge.simplegamenet.framework.SimpleGameNet
The main class of the executable jar which is responsible for initializing the entire SimpleGameNet framework.
All game modules are dynamically loaded from the executable jar file path's subdirectory "games". A game module is required to be jarred into one jar file with it's "Main-Class" attribute set to itsGameFactory.
GameFactory,
GamePlayerClient,
GameServer,
Serialized Form| Nested Class Summary |
| Nested classes inherited from class javax.swing.JFrame |
JFrame.AccessibleJFrame |
| Nested classes inherited from class java.awt.Frame |
Frame.AccessibleAWTFrame |
| Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
| Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Method Summary | |
void |
actionPerformed(ActionEvent actionEvent)
Invoked when an action occurs. |
static void |
createSimpleGameNet()
|
static void |
main(String[] args)
Initializes the SimpleGameNet framework. |
void |
stateChanged(ChangeEvent changeEvent)
Invoked when the target of the listener has changed its state. |
void |
windowActivated(WindowEvent windowEvent)
Invoked when the Window is set to be the active Window. |
void |
windowClosed(WindowEvent windowEvent)
Invoked when a window has been closed as the result of calling dispose on the window. |
void |
windowClosing(WindowEvent windowEvent)
Invoked when the user attempts to close the window from the window's system menu. |
void |
windowDeactivated(WindowEvent windowEvent)
Invoked when a Window is no longer the active Window. |
void |
windowDeiconified(WindowEvent windowEvent)
Invoked when a window is changed from a minimized to a normal state. |
void |
windowIconified(WindowEvent windowEvent)
Invoked when a window is changed from a normal to a minimized state. |
void |
windowOpened(WindowEvent windowEvent)
Invoked the first time a window is made visible. |
| Methods inherited from class java.awt.Frame |
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Method Detail |
public static void main(String[] args)
args - arguments which aren't usedpublic static void createSimpleGameNet()
public void actionPerformed(ActionEvent actionEvent)
actionPerformed in interface ActionListenerpublic void stateChanged(ChangeEvent changeEvent)
stateChanged in interface ChangeListenerchangeEvent - a ChangeEvent objectpublic void windowActivated(WindowEvent windowEvent)
windowActivated in interface WindowListenerpublic void windowClosed(WindowEvent windowEvent)
windowClosed in interface WindowListenerpublic void windowClosing(WindowEvent windowEvent)
windowClosing in interface WindowListenerpublic void windowDeactivated(WindowEvent windowEvent)
windowDeactivated in interface WindowListenerpublic void windowDeiconified(WindowEvent windowEvent)
windowDeiconified in interface WindowListenerpublic void windowIconified(WindowEvent windowEvent)
windowIconified in interface WindowListenerFrame.setIconImage(java.awt.Image)public void windowOpened(WindowEvent windowEvent)
windowOpened in interface WindowListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||