All Packages Class Hierarchy This Package Previous Next Index
Class semper.tinguin2.YesNoQuitHTML
java.lang.Object
|
+----netscape.application.View
|
+----netscape.application.InternalWindow
|
+----semper.tinguin2.ButtonWindow
|
+----semper.tinguin2.YesNoQuitHTML
- public class YesNoQuitHTML
- extends ButtonWindow
- implements DragDestination
Creates a Yes-No-Quit Dialog within an InternalWindow. This
dialog has a textfield for HTML-Text and 3 buttons.
- Version:
- 0.1
- Author:
- Patil
-
CANCEL_BUTTON
- Constant for the text of the right button
-
OK_BUTTON
- Constant for the text of the left button
-
QUIT_BUTTON
- Constant for the text of the middle button
-
YesNoQuitHTML(String)
- Yes-No-Quit Dialog with the HTML-Text message.
-
YesNoQuitHTML(String, String, String, String)
- Yes-No-Quit Dialog with the HTML-Text message.
-
YesNoQuitHTML(String, String, String, String, String)
- Yes-No-Quit Dialog with the HTML-Text message.
-
YesNoQuitHTML(String, String, String, String, String, int, int, int, int)
- Yes-No-Quit Dialog with the HTML-Text message.
-
acceptsDrag(DragSession, int, int)
- You should never call this method.
-
dragDropped(DragSession)
- Implementation of the DragDestination interface.
-
dragEntered(DragSession)
- Implementation of the DragDestination interface.
-
dragExited(DragSession)
- Implementation of the DragDestination interface.
-
dragMoved(DragSession)
- Implementation of the DragDestination interface.
-
okPressed()
-
-
quitPressed()
-
OK_BUTTON
public static String OK_BUTTON
- Constant for the text of the left button
CANCEL_BUTTON
public static String CANCEL_BUTTON
- Constant for the text of the right button
QUIT_BUTTON
public static String QUIT_BUTTON
- Constant for the text of the middle button
YesNoQuitHTML
public YesNoQuitHTML(String message)
- Yes-No-Quit Dialog with the HTML-Text message. The left button
is labeled "OK" and the right button is labeled "Cancel" and
the middle button is labeled "Quit">/B>.
- Parameters:
- message - The HTML-Text
YesNoQuitHTML
public YesNoQuitHTML(String message,
String ok,
String cancel,
String quit)
- Yes-No-Quit Dialog with the HTML-Text message. The left
button is labeled ok and the right button
is labeled cancel and middle button is labeled quit.
- Parameters:
- message - The HTML-Text
- ok - The text for the left button
- cancel - The text for the right button
- quit - The text fot the middle button
YesNoQuitHTML
public YesNoQuitHTML(String message,
String ok,
String cancel,
String quit,
String title)
- Yes-No-Quit Dialog with the HTML-Text message. The left
button is labeled ok and the right button
is labeled cancel and the middle button is labeled quit.
- Parameters:
- message - The HTML-Text
- ok - The text for the left button
- cancel - The text for the right button
- quit - The text for the middle button
- title - The title for the InternalWindow
YesNoQuitHTML
public YesNoQuitHTML(String message,
String ok,
String cancel,
String quit,
String title,
int x,
int y,
int w,
int h)
- Yes-No-Quit Dialog with the HTML-Text message. The left
button is labeled ok and the right button
is labeled cancel and the middle nutton is labeled quit.
The window is shown at the position x,y with width
w and height h.
- Parameters:
- message - The HTML-Text
- ok - The text for the left button
- cancel - The text for the right button
- quit - The text for the middle button
- title - The title for the InternalWindow
- x - The X-Position of the InternalWindow
- y - The Y-Position of the InternalWindow
- w - The width of the InternalWindow
- h - The height of the InternalWindow
okPressed
public boolean okPressed()
- Returns:
- true if the left button was pressed
quitPressed
public boolean quitPressed()
- Returns:
- true if the middle button was pressed
acceptsDrag
public DragDestination acceptsDrag(DragSession dragSession,
int x,
int y)
- You should never call this method.
- Overrides:
- acceptsDrag in class View
dragDropped
public boolean dragDropped(DragSession dragSession)
- Implementation of the DragDestination interface.
You should never call this method.
dragEntered
public boolean dragEntered(DragSession dragSession)
- Implementation of the DragDestination interface.
You should never call this method.
dragExited
public void dragExited(DragSession dragSession)
- Implementation of the DragDestination interface.
You should never call this method.
dragMoved
public boolean dragMoved(DragSession dragSession)
- Implementation of the DragDestination interface.
You should never call this method.
All Packages Class Hierarchy This Package Previous Next Index