|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mitre.cvw
Class AboutScreen

java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.mitre.cvw.CVWFrame
org.mitre.cvw.AboutScreen
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
- public class AboutScreen
- extends CVWFrame
This window shows the CVW image and gives the user access to the license.text file.
- Version:
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
| Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected java.awt.Font |
bold
|
(package private) java.awt.Container |
contentPane
|
protected java.awt.Image |
icon
|
private static AboutScreen |
instance
|
(package private) NotePad |
note
|
| 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.Window |
|
| Fields inherited from class java.awt.Container |
|
| 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 |
| Constructor Summary | |
(package private) |
AboutScreen(java.awt.Image image)
Constructor |
| Method Summary | |
private void |
closeWindow()
Closes this window, if license window is open closes it as well. |
void |
frameDismissed(java.awt.Frame f)
Needs to implement this because it opens an instance of org.mitre.tjt.NotePad |
java.lang.String |
get3rdPartyLicense()
|
java.lang.String |
getJREBody()
|
java.lang.String |
getJREHeader(java.lang.String os)
|
java.lang.String |
getJRELicenseText()
|
java.lang.String |
getJRESupplement(java.lang.String os)
|
private java.lang.String |
getLicenseText()
Returns the license agreement for this software. |
(package private) void |
init()
|
static void |
openWindow(java.awt.Image i)
Opens the window given an image. |
private void |
showLicense()
|
private void |
showLicense(boolean cvw)
Show the license agreement in a org.mitre.tjt.NotePad. |
| Methods inherited from class org.mitre.cvw.CVWFrame |
constrain, constrain, setBackground, setBounds |
| Methods inherited from class java.awt.Frame |
addNotify, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Field Detail |
bold
protected java.awt.Font bold
icon
protected java.awt.Image icon
instance
private static AboutScreen instance
note
NotePad note
contentPane
java.awt.Container contentPane
| Constructor Detail |
AboutScreen
AboutScreen(java.awt.Image image)
- Constructor
| Method Detail |
openWindow
public static void openWindow(java.awt.Image i)
- Opens the window given an image.
init
void init()
closeWindow
private void closeWindow()
- Closes this window, if license window is open closes it as well.
showLicense
private void showLicense()
showLicense
private void showLicense(boolean cvw)
- Show the license agreement in a org.mitre.tjt.NotePad.
frameDismissed
public void frameDismissed(java.awt.Frame f)
- Needs to implement this because it opens an instance of org.mitre.tjt.NotePad
getLicenseText
private java.lang.String getLicenseText()
- Returns the license agreement for this software.
7/15/98 dage - before you screem that the license text is embedded in the code
and not read in as a file on the system.... this guarentees that the license
agreement will always be available from within the client, even if the user
deletes the license.txt provided with the client.
get3rdPartyLicense
public java.lang.String get3rdPartyLicense()
getJRELicenseText
public java.lang.String getJRELicenseText()
getJREHeader
public java.lang.String getJREHeader(java.lang.String os)
getJREBody
public java.lang.String getJREBody()
getJRESupplement
public java.lang.String getJRESupplement(java.lang.String os)
|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC