Subversion Repositories sokoban

Rev

Blame | Last modification | View Log | RSS feed

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0-rc) on Sat Jan 24 19:46:56 CET 2009 -->
  6. <TITLE>
  7. GameWindow
  8. </TITLE>
  9.  
  10. <META NAME="date" CONTENT="2009-01-24">
  11.  
  12. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  13.  
  14. <SCRIPT type="text/javascript">
  15. function windowTitle()
  16. {
  17.     if (location.href.indexOf('is-external=true') == -1) {
  18.         parent.document.title="GameWindow";
  19.     }
  20. }
  21. </SCRIPT>
  22. <NOSCRIPT>
  23. </NOSCRIPT>
  24.  
  25. </HEAD>
  26.  
  27. <BODY BGCOLOR="white" onload="windowTitle();">
  28. <HR>
  29.  
  30.  
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <A NAME="navbar_top"><!-- --></A>
  33. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  34. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  35. <TR>
  36. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  37. <A NAME="navbar_top_firstrow"><!-- --></A>
  38. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  39.   <TR ALIGN="center" VALIGN="top">
  40.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  41.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  42.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  43.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  44.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  45.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  46.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  47.   </TR>
  48. </TABLE>
  49. </TD>
  50. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  51. </EM>
  52. </TD>
  53. </TR>
  54.  
  55. <TR>
  56. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  57. &nbsp;<A HREF="../../../gdi1sokoban/template/ui/GamePanel.html" title="class in gdi1sokoban.template.ui"><B>PREV CLASS</B></A>&nbsp;
  58. &nbsp;NEXT CLASS</FONT></TD>
  59. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  60.   <A HREF="../../../index.html?gdi1sokoban/template/ui/GameWindow.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  61. &nbsp;<A HREF="GameWindow.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  62. &nbsp;<SCRIPT type="text/javascript">
  63.   <!--
  64.   if(window==top) {
  65.     document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  66.   }
  67.   //-->
  68. </SCRIPT>
  69. <NOSCRIPT>
  70.   <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  71. </NOSCRIPT>
  72.  
  73.  
  74. </FONT></TD>
  75. </TR>
  76. <TR>
  77. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  78.   SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_java.awt.Component">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JFrame">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  79. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  80. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  81. </TR>
  82. </TABLE>
  83. <A NAME="skip-navbar_top"></A>
  84. <!-- ========= END OF TOP NAVBAR ========= -->
  85.  
  86. <HR>
  87. <!-- ======== START OF CLASS DATA ======== -->
  88. <H2>
  89. <FONT SIZE="-1">
  90. gdi1sokoban.template.ui</FONT>
  91. <BR>
  92. Class GameWindow</H2>
  93. <PRE>
  94. java.lang.Object
  95.   <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.awt.Component
  96.       <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.awt.Container
  97.           <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.awt.Window
  98.               <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.awt.Frame
  99.                   <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.swing.JFrame
  100.                       <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>gdi1sokoban.template.ui.GameWindow</B>
  101. </PRE>
  102. <DL>
  103. <DT><B>All Implemented Interfaces:</B> <DD>java.awt.event.KeyListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants</DD>
  104. </DL>
  105. <HR>
  106. <DL>
  107. <DT><PRE>public abstract class <B>GameWindow</B><DT>extends javax.swing.JFrame<DT>implements java.awt.event.KeyListener</DL>
  108. </PRE>
  109.  
  110. <P>
  111. Base class for the main game window. Derive from this class for implementing
  112.  your custom solution.
  113. <P>
  114.  
  115. <P>
  116. <DL>
  117. <DT><B>Version:</B></DT>
  118.   <DD>1.0</DD>
  119. <DT><B>Author:</B></DT>
  120.   <DD>Steven Arzt, Oren Avni</DD>
  121. <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#gdi1sokoban.template.ui.GameWindow">Serialized Form</A></DL>
  122. <HR>
  123.  
  124. <P>
  125. <!-- ======== NESTED CLASS SUMMARY ======== -->
  126.  
  127. <A NAME="nested_class_summary"><!-- --></A>
  128. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  129. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  130. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  131. <B>Nested Class Summary</B></FONT></TH>
  132. </TR>
  133. </TABLE>
  134. &nbsp;<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
  135. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  136. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  137. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
  138. </TR>
  139. <TR BGCOLOR="white" CLASS="TableRowColor">
  140. <TD><CODE>java.awt.Component.BaselineResizeBehavior</CODE></TD>
  141. </TR>
  142. </TABLE>
  143. &nbsp;
  144. <!-- =========== FIELD SUMMARY =========== -->
  145.  
  146. <A NAME="field_summary"><!-- --></A>
  147. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  148. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  149. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  150. <B>Field Summary</B></FONT></TH>
  151. </TR>
  152. </TABLE>
  153. &nbsp;<A NAME="fields_inherited_from_class_javax.swing.JFrame"><!-- --></A>
  154. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  155. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  156. <TH ALIGN="left"><B>Fields inherited from class javax.swing.JFrame</B></TH>
  157. </TR>
  158. <TR BGCOLOR="white" CLASS="TableRowColor">
  159. <TD><CODE>EXIT_ON_CLOSE</CODE></TD>
  160. </TR>
  161. </TABLE>
  162. &nbsp;<A NAME="fields_inherited_from_class_java.awt.Frame"><!-- --></A>
  163. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  164. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  165. <TH ALIGN="left"><B>Fields inherited from class java.awt.Frame</B></TH>
  166. </TR>
  167. <TR BGCOLOR="white" CLASS="TableRowColor">
  168. <TD><CODE>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</CODE></TD>
  169. </TR>
  170. </TABLE>
  171. &nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
  172. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  173. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  174. <TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
  175. </TR>
  176. <TR BGCOLOR="white" CLASS="TableRowColor">
  177. <TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
  178. </TR>
  179. </TABLE>
  180. &nbsp;<A NAME="fields_inherited_from_class_javax.swing.WindowConstants"><!-- --></A>
  181. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  182. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  183. <TH ALIGN="left"><B>Fields inherited from interface javax.swing.WindowConstants</B></TH>
  184. </TR>
  185. <TR BGCOLOR="white" CLASS="TableRowColor">
  186. <TD><CODE>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE</CODE></TD>
  187. </TR>
  188. </TABLE>
  189. &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
  190. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  191. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  192. <TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
  193. </TR>
  194. <TR BGCOLOR="white" CLASS="TableRowColor">
  195. <TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
  196. </TR>
  197. </TABLE>
  198. &nbsp;
  199. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  200.  
  201. <A NAME="constructor_summary"><!-- --></A>
  202. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  203. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  204. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  205. <B>Constructor Summary</B></FONT></TH>
  206. </TR>
  207. <TR BGCOLOR="white" CLASS="TableRowColor">
  208. <TD><CODE><B><A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#GameWindow(java.lang.String)">GameWindow</A></B>(java.lang.String&nbsp;windowTitle)</CODE>
  209.  
  210. <BR>
  211. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of the GameWindow class</TD>
  212. </TR>
  213. </TABLE>
  214. &nbsp;
  215. <!-- ========== METHOD SUMMARY =========== -->
  216.  
  217. <A NAME="method_summary"><!-- --></A>
  218. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  219. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  220. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  221. <B>Method Summary</B></FONT></TH>
  222. </TR>
  223. <TR BGCOLOR="white" CLASS="TableRowColor">
  224. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  225. <CODE>&nbsp;<A HREF="../../../gdi1sokoban/template/ui/GamePanel.html" title="class in gdi1sokoban.template.ui">GamePanel</A></CODE></FONT></TD>
  226. <TD><CODE><B><A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#getGamePanel()">getGamePanel</A></B>()</CODE>
  227.  
  228. <BR>
  229. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the game panel used by this game window</TD>
  230. </TR>
  231. <TR BGCOLOR="white" CLASS="TableRowColor">
  232. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  233. <CODE>&nbsp;void</CODE></FONT></TD>
  234. <TD><CODE><B><A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyPressed(java.awt.event.KeyEvent)">keyPressed</A></B>(java.awt.event.KeyEvent&nbsp;key)</CODE>
  235.  
  236. <BR>
  237. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method consumes a KeyEvent caused by the user pressing a key.</TD>
  238. </TR>
  239. <TR BGCOLOR="white" CLASS="TableRowColor">
  240. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  241. <CODE>&nbsp;void</CODE></FONT></TD>
  242. <TD><CODE><B><A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyReleased(java.awt.event.KeyEvent)">keyReleased</A></B>(java.awt.event.KeyEvent&nbsp;key)</CODE>
  243.  
  244. <BR>
  245. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  246. </TR>
  247. <TR BGCOLOR="white" CLASS="TableRowColor">
  248. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  249. <CODE>&nbsp;void</CODE></FONT></TD>
  250. <TD><CODE><B><A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyResetCheat()">keyResetCheat</A></B>()</CODE>
  251.  
  252. <BR>
  253. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  254. </TR>
  255. <TR BGCOLOR="white" CLASS="TableRowColor">
  256. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  257. <CODE>&nbsp;void</CODE></FONT></TD>
  258. <TD><CODE><B><A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyTyped(java.awt.event.KeyEvent)">keyTyped</A></B>(java.awt.event.KeyEvent&nbsp;key)</CODE>
  259.  
  260. <BR>
  261. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  262. </TR>
  263. <TR BGCOLOR="white" CLASS="TableRowColor">
  264. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  265. <CODE>&nbsp;void</CODE></FONT></TD>
  266. <TD><CODE><B><A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#notifyLevelLoaded(int, int)">notifyLevelLoaded</A></B>(int&nbsp;width,
  267.                   int&nbsp;height)</CODE>
  268.  
  269. <BR>
  270. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies the game window that a new level has been loaded</TD>
  271. </TR>
  272. </TABLE>
  273. &nbsp;<A NAME="methods_inherited_from_class_javax.swing.JFrame"><!-- --></A>
  274. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  275. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  276. <TH ALIGN="left"><B>Methods inherited from class javax.swing.JFrame</B></TH>
  277. </TR>
  278. <TR BGCOLOR="white" CLASS="TableRowColor">
  279. <TD><CODE>getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update</CODE></TD>
  280. </TR>
  281. </TABLE>
  282. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Frame"><!-- --></A>
  283. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  284. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  285. <TH ALIGN="left"><B>Methods inherited from class java.awt.Frame</B></TH>
  286. </TR>
  287. <TR BGCOLOR="white" CLASS="TableRowColor">
  288. <TD><CODE>addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated</CODE></TD>
  289. </TR>
  290. </TABLE>
  291. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Window"><!-- --></A>
  292. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  293. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  294. <TH ALIGN="left"><B>Methods inherited from class java.awt.Window</B></TH>
  295. </TR>
  296. <TR BGCOLOR="white" CLASS="TableRowColor">
  297. <TD><CODE>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront</CODE></TD>
  298. </TR>
  299. </TABLE>
  300. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
  301. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  302. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  303. <TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
  304. </TR>
  305. <TR BGCOLOR="white" CLASS="TableRowColor">
  306. <TD><CODE>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate</CODE></TD>
  307. </TR>
  308. </TABLE>
  309. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
  310. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  311. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  312. <TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
  313. </TR>
  314. <TR BGCOLOR="white" CLASS="TableRowColor">
  315. <TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
  316. </TR>
  317. </TABLE>
  318. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  319. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  320. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  321. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  322. </TR>
  323. <TR BGCOLOR="white" CLASS="TableRowColor">
  324. <TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
  325. </TR>
  326. </TABLE>
  327. &nbsp;<A NAME="methods_inherited_from_class_java.awt.MenuContainer"><!-- --></A>
  328. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  329. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  330. <TH ALIGN="left"><B>Methods inherited from interface java.awt.MenuContainer</B></TH>
  331. </TR>
  332. <TR BGCOLOR="white" CLASS="TableRowColor">
  333. <TD><CODE>getFont, postEvent</CODE></TD>
  334. </TR>
  335. </TABLE>
  336. &nbsp;
  337. <P>
  338.  
  339. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  340.  
  341. <A NAME="constructor_detail"><!-- --></A>
  342. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  343. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  344. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  345. <B>Constructor Detail</B></FONT></TH>
  346. </TR>
  347. </TABLE>
  348.  
  349. <A NAME="GameWindow(java.lang.String)"><!-- --></A><H3>
  350. GameWindow</H3>
  351. <PRE>
  352. public <B>GameWindow</B>(java.lang.String&nbsp;windowTitle)
  353.            throws <A HREF="../../../gdi1sokoban/exceptions/InternalFailureException.html" title="class in gdi1sokoban.exceptions">InternalFailureException</A></PRE>
  354. <DL>
  355. <DD>Creates a new instance of the GameWindow class
  356. <P>
  357. <DL>
  358. <DT><B>Parameters:</B><DD><CODE>windowTitle</CODE> - The title of the game window
  359. <DT><B>Throws:</B>
  360. <DD><CODE><A HREF="../../../gdi1sokoban/exceptions/InternalFailureException.html" title="class in gdi1sokoban.exceptions">InternalFailureException</A></CODE> - Thrown if an uncorrectable internal error occurs</DL>
  361. </DL>
  362.  
  363. <!-- ============ METHOD DETAIL ========== -->
  364.  
  365. <A NAME="method_detail"><!-- --></A>
  366. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  367. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  368. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  369. <B>Method Detail</B></FONT></TH>
  370. </TR>
  371. </TABLE>
  372.  
  373. <A NAME="keyPressed(java.awt.event.KeyEvent)"><!-- --></A><H3>
  374. keyPressed</H3>
  375. <PRE>
  376. public void <B>keyPressed</B>(java.awt.event.KeyEvent&nbsp;key)</PRE>
  377. <DL>
  378. <DD>This method consumes a KeyEvent caused by the user pressing a key. If the
  379.  key is "known", the appropriate method key*Pressed will be called.
  380. <P>
  381. <DD><DL>
  382. <DT><B>Specified by:</B><DD><CODE>keyPressed</CODE> in interface <CODE>java.awt.event.KeyListener</CODE></DL>
  383. </DD>
  384. <DD><DL>
  385. <DT><B>See Also:</B><DD><A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyUpPressed()"><CODE>keyUpPressed()</CODE></A>,
  386. <A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyLeftPressed()"><CODE>keyLeftPressed()</CODE></A>,
  387. <A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyRightPressed()"><CODE>keyRightPressed()</CODE></A>,
  388. <A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyDownPressed()"><CODE>keyDownPressed()</CODE></A>,
  389. <A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyNewGamePressed()"><CODE>keyNewGamePressed()</CODE></A>,
  390. <A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyRedoPressed()"><CODE>keyRedoPressed()</CODE></A>,
  391. <A HREF="../../../gdi1sokoban/template/ui/GameWindow.html#keyUndoPressed()"><CODE>keyUndoPressed()</CODE></A></DL>
  392. </DD>
  393. </DL>
  394. <HR>
  395.  
  396. <A NAME="keyResetCheat()"><!-- --></A><H3>
  397. keyResetCheat</H3>
  398. <PRE>
  399. public void <B>keyResetCheat</B>()</PRE>
  400. <DL>
  401. <DD><DL>
  402. </DL>
  403. </DD>
  404. <DD><DL>
  405. </DL>
  406. </DD>
  407. </DL>
  408. <HR>
  409.  
  410. <A NAME="keyReleased(java.awt.event.KeyEvent)"><!-- --></A><H3>
  411. keyReleased</H3>
  412. <PRE>
  413. public void <B>keyReleased</B>(java.awt.event.KeyEvent&nbsp;key)</PRE>
  414. <DL>
  415. <DD><DL>
  416. <DT><B>Specified by:</B><DD><CODE>keyReleased</CODE> in interface <CODE>java.awt.event.KeyListener</CODE></DL>
  417. </DD>
  418. <DD><DL>
  419. </DL>
  420. </DD>
  421. </DL>
  422. <HR>
  423.  
  424. <A NAME="keyTyped(java.awt.event.KeyEvent)"><!-- --></A><H3>
  425. keyTyped</H3>
  426. <PRE>
  427. public void <B>keyTyped</B>(java.awt.event.KeyEvent&nbsp;key)</PRE>
  428. <DL>
  429. <DD><DL>
  430. <DT><B>Specified by:</B><DD><CODE>keyTyped</CODE> in interface <CODE>java.awt.event.KeyListener</CODE></DL>
  431. </DD>
  432. <DD><DL>
  433. </DL>
  434. </DD>
  435. </DL>
  436. <HR>
  437.  
  438. <A NAME="getGamePanel()"><!-- --></A><H3>
  439. getGamePanel</H3>
  440. <PRE>
  441. public <A HREF="../../../gdi1sokoban/template/ui/GamePanel.html" title="class in gdi1sokoban.template.ui">GamePanel</A> <B>getGamePanel</B>()</PRE>
  442. <DL>
  443. <DD>Returns the game panel used by this game window
  444. <P>
  445. <DD><DL>
  446. </DL>
  447. </DD>
  448. <DD><DL>
  449.  
  450. <DT><B>Returns:</B><DD>The game panel used by this game window</DL>
  451. </DD>
  452. </DL>
  453. <HR>
  454.  
  455. <A NAME="notifyLevelLoaded(int, int)"><!-- --></A><H3>
  456. notifyLevelLoaded</H3>
  457. <PRE>
  458. public void <B>notifyLevelLoaded</B>(int&nbsp;width,
  459.                               int&nbsp;height)
  460.                        throws <A HREF="../../../gdi1sokoban/exceptions/ParameterOutOfRangeException.html" title="class in gdi1sokoban.exceptions">ParameterOutOfRangeException</A>,
  461.                               <A HREF="../../../gdi1sokoban/exceptions/InternalFailureException.html" title="class in gdi1sokoban.exceptions">InternalFailureException</A></PRE>
  462. <DL>
  463. <DD>Notifies the game window that a new level has been loaded
  464. <P>
  465. <DD><DL>
  466. </DL>
  467. </DD>
  468. <DD><DL>
  469. <DT><B>Parameters:</B><DD><CODE>width</CODE> - The width of the level just loaded<DD><CODE>height</CODE> - The height of the level just loaded
  470. <DT><B>Throws:</B>
  471. <DD><CODE><A HREF="../../../gdi1sokoban/exceptions/ParameterOutOfRangeException.html" title="class in gdi1sokoban.exceptions">ParameterOutOfRangeException</A></CODE> - Thrown if one of the parameters falls out of the range of
  472.              acceptable values
  473. <DD><CODE><A HREF="../../../gdi1sokoban/exceptions/InternalFailureException.html" title="class in gdi1sokoban.exceptions">InternalFailureException</A></CODE> - Thrown if an uncorrectable internal error occurs</DL>
  474. </DD>
  475. </DL>
  476. <!-- ========= END OF CLASS DATA ========= -->
  477. <HR>
  478.  
  479.  
  480. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  481. <A NAME="navbar_bottom"><!-- --></A>
  482. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  483. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  484. <TR>
  485. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  486. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  487. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  488.   <TR ALIGN="center" VALIGN="top">
  489.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  490.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  491.   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  492.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  493.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  494.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  495.   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  496.   </TR>
  497. </TABLE>
  498. </TD>
  499. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  500. </EM>
  501. </TD>
  502. </TR>
  503.  
  504. <TR>
  505. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  506. &nbsp;<A HREF="../../../gdi1sokoban/template/ui/GamePanel.html" title="class in gdi1sokoban.template.ui"><B>PREV CLASS</B></A>&nbsp;
  507. &nbsp;NEXT CLASS</FONT></TD>
  508. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  509.   <A HREF="../../../index.html?gdi1sokoban/template/ui/GameWindow.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  510. &nbsp;<A HREF="GameWindow.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  511. &nbsp;<SCRIPT type="text/javascript">
  512.   <!--
  513.   if(window==top) {
  514.     document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  515.   }
  516.   //-->
  517. </SCRIPT>
  518. <NOSCRIPT>
  519.   <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  520. </NOSCRIPT>
  521.  
  522.  
  523. </FONT></TD>
  524. </TR>
  525. <TR>
  526. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  527.   SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_java.awt.Component">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JFrame">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  528. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  529. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  530. </TR>
  531. </TABLE>
  532. <A NAME="skip-navbar_bottom"></A>
  533. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  534.  
  535. <HR>
  536.  
  537. </BODY>
  538. </HTML>
  539.