All Packages Class Hierarchy This Package Previous Next Index
Class semper.tinguin2.YesNoHTML
java.lang.Object
|
+----netscape.application.View
|
+----netscape.application.InternalWindow
|
+----semper.tinguin2.ButtonWindow
|
+----semper.tinguin2.YesNoHTML
- public class YesNoHTML
- extends ButtonWindow
- implements DragDestination
Creates a Yes-No Dialog within an InternalWindow. This
dialog has a textfield for HTML-Text and 2 buttons.
- Version:
- 0.1
- Author:
- Christian Haag
-
CANCEL_BUTTON
- Constant for the text of the right button
-
OK_BUTTON
- Constant for the text of the left button
-
YesNoHTML(String)
- Yes-No Dialog with the HTML-Text message.
-
YesNoHTML(String, String, String)
- Yes-No Dialog with the HTML-Text message.
-
YesNoHTML(String, String, String, String)
- Yes-No Dialog with the HTML-Text message.
-
YesNoHTML(String, String, String, String, int, int, int, int)
- Yes-No 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()
-
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
YesNoHTML
public YesNoHTML(String message)
- Yes-No Dialog with the HTML-Text message. The left button
is labeled "OK" and the right button is labeled "Cancel".
- Parameters:
- message - The HTML-Text
YesNoHTML
public YesNoHTML(String message,
String ok,
String cancel)
- Yes-No Dialog with the HTML-Text message. The left
button is labeled ok and the right button
is labeled cancel.
- Parameters:
- message - The HTML-Text
- ok - The text for the left button
- cancel - The text for the right button
YesNoHTML
public YesNoHTML(String message,
String ok,
String cancel,
String title)
- Yes-No Dialog with the HTML-Text message. The left
button is labeled ok and the right button
is labeled cancel.
- Parameters:
- message - The HTML-Text
- ok - The text for the left button
- cancel - The text for the right button
- title - The title for the InternalWindow
YesNoHTML
public YesNoHTML(String message,
String ok,
String cancel,
String title,
int x,
int y,
int w,
int h)
- Yes-No Dialog with the HTML-Text message. The left
button is labeled ok and the right button
is labeled cancel.
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
- 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
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