|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.crosswire.bibledesktop.book.install.InternetWarning
public class InternetWarning
InternetWarning is used to request permission of the user to access the Internet. An option allows them to request that they are not asked again. The default for the option is to be asked every time.
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
private ActionFactory |
actions
|
protected int |
choice
The user's choice. |
static int |
DENIED
Access to the Internet is denied. |
protected JDialog |
dialog
The dialog box |
static int |
GRANTED
Access to the Internet is granted. |
private static long |
serialVersionUID
Serialization ID |
protected JCheckBox |
showWarning
Bold font? |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
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 | |
---|---|
InternetWarning()
Create a WebWarningDialog. |
Method Summary | |
---|---|
void |
doNo()
|
void |
doYes()
|
protected void |
fireStateChange()
When something changes we must inform out listeners. |
private void |
readObject(ObjectInputStream is)
Serialization support. |
static int |
showDialog(Component parent,
String title)
Display a InternetWarning as a dialog |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int GRANTED
public static final int DENIED
private transient ActionFactory actions
protected int choice
protected JDialog dialog
protected JCheckBox showWarning
private static final long serialVersionUID
Constructor Detail |
---|
public InternetWarning()
Method Detail |
---|
public static int showDialog(Component parent, String title)
public void doYes()
public void doNo()
protected void fireStateChange()
private void readObject(ObjectInputStream is) throws IOException, ClassNotFoundException
is
-
IOException
ClassNotFoundException
|
Copyright ยจ 2003-2007 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |