|
|||||||||||
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.Panel
java.applet.Applet
wt.clients.gui.ChooserApplet
This class extends Applet
and allows a user to search for an object
and then either update or view that object. It contains the WtChooser
which actually does the search. This is simply a wrapper class which passes
the class to be searched on to the WtChooser
and knows how to handle the Close and
OK events received from the WtChooser
.
Supported API: false.
Extendable: false.
Nested Class Summary | |
(package private) class |
ChooserApplet.ChooserListener
Internal class that implements WTQueryListener and listens for WTQueryEvent . |
Nested classes inherited from class java.applet.Applet |
Applet.AccessibleApplet |
Nested classes inherited from class java.awt.Panel |
Panel.AccessibleAWTPanel |
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 | |
WTChooser |
chooser
|
WTContext |
context
|
(package private) static String |
currentClass
Public variable to hold the String that represents the class to be searched on. |
(package private) static String |
currentTask
Public variable to hold the String representing the task to be performed after the user completes the search (i.e. |
private static Object |
initSync
|
private static String |
LABELS_RESOURCE
|
private static ResourceBundle |
labelsResource
|
static String |
UPDATE
|
static String |
VIEW
|
Fields inherited from class java.applet.Applet |
|
Fields inherited from class java.awt.Panel |
|
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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
ChooserApplet()
|
Method Summary | |
void |
destroy()
Destroys the WTContext and the Applet Supported API: false. |
private static String |
display(String key)
Returns the localized string to be displayed to the user given a key. |
(package private) Frame |
getTopLevelParent(Component component)
This method will find the top level parent of the given Component ,
and if it is a Frame , it will return it. |
void |
init()
Initialize ChooserApplet . |
private static void |
initResources()
Initializes resource bundles used by this class. |
(package private) WTChooser |
initWTChooser()
Create a new instance of WTChooser to search on the currentClass . |
void |
start()
Starts the WTContext and the Applet Supported API: false. |
void |
stop()
Stops the WTContext and the Applet Supported API: false. |
Methods inherited from class java.applet.Applet |
getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static String UPDATE
public static String VIEW
static String currentTask
static String currentClass
public WTContext context
public WTChooser chooser
private static Object initSync
private static ResourceBundle labelsResource
private static String LABELS_RESOURCE
Constructor Detail |
public ChooserApplet()
Method Detail |
public void init()
ChooserApplet
. It creates a new instance of
WTChooser
and passes the name of the class to be searched on.
WTChooser initWTChooser()
currentClass
.
Frame getTopLevelParent(Component component)
Component
,
and if it is a Frame
, it will return it. This is used by
MessageDialog
to provide important information to the user
about exceptions, etc.
component
- A Component
whos top level Frame
is desired.
Frame
of the given Component
public void start()
public void stop()
public void destroy()
private static String display(String key)
key
- The string that represents the key in the
ChangeMgmtRB
.
private static void initResources()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |