Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.batik.apps.svgbrowser
Class PreferenceDialog

    java.lang.Object
      java.awt.Component
          java.awt.Container
              java.awt.Window
                  java.awt.Dialog
                      javax.swing.JDialog
                          org.apache.batik.apps.svgbrowser.PreferenceDialog

All Implemented Interfaces:
  javax.accessibility.Accessible, GridBagConstants, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class PreferenceDialog
extends javax.swing.JDialog
implements GridBagConstants

Dialog that displays user preferences.

See Also:
  Serialized Form

Nested Class Summary

Nested classes inherited from class javax.swing.JDialog
`javax.swing.JDialog.AccessibleJDialog`

Nested classes inherited from class java.awt.Dialog
`java.awt.Dialog.AccessibleAWTDialog`

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 javax.swing.JCheckBox` | `autoAdjustWindow`
`static int` | `CANCEL_OPTION` The return value if 'Cancel' is chosen.
`static java.lang.String` | `CONFIG_CANCEL_MNEMONIC`
`static java.lang.String` | `CONFIG_HOST_TEXT_FIELD_LENGTH`
`static java.lang.String` | `CONFIG_OK_MNEMONIC`
`static java.lang.String` | `CONFIG_PORT_TEXT_FIELD_LENGTH`
`protected org.apache.batik.apps.svgbrowser.ConfigurationPanelSelector` | `configPanelSelector` Allows selection of the desired configuration panel
`protected CSSMediaPanel` | `cssMediaPanel`
`protected javax.swing.JCheckBox` | `enableDoubleBuffering`
`protected javax.swing.JCheckBox` | `enforceSecureScripting`
`protected javax.swing.JCheckBox` | `grantScriptFileAccess`
`protected javax.swing.JCheckBox` | `grantScriptNetworkAccess`
`protected javax.swing.JTextField` | `host`
`static java.lang.String` | `ICON_BEHAVIOR`
`static java.lang.String` | `ICON_NETWORK`
`static java.lang.String` | `ICON_USER_LANGUAGE`
`static java.lang.String` | `ICON_USER_STYLESHEET`
`protected javax.swing.JCheckBox` | `isXMLParserValidating`
`static java.lang.String` | `LABEL_APPLICATIONS`
`static java.lang.String` | `LABEL_AUTO_ADJUST_WINDOW`
`static java.lang.String` | `LABEL_BEHAVIOR`
`static java.lang.String` | `LABEL_CANCEL`
`static java.lang.String` | `LABEL_ENABLE_DOUBLE_BUFFERING`
`static java.lang.String` | `LABEL_ENFORCE_SECURE_SCRIPTING`
`static java.lang.String` | `LABEL_GRANT_SCRIPT_FILE_ACCESS`
`static java.lang.String` | `LABEL_GRANT_SCRIPT_NETWORK_ACCESS`
`static java.lang.String` | `LABEL_HOST`
`static java.lang.String` | `LABEL_IS_XML_PARSER_VALIDATING`
`static java.lang.String` | `LABEL_LOAD_ECMASCRIPT`
`static java.lang.String` | `LABEL_LOAD_JAVA`
`static java.lang.String` | `LABEL_LOAD_SCRIPTS`
`static java.lang.String` | `LABEL_NETWORK`
`static java.lang.String` | `LABEL_OK`
`static java.lang.String` | `LABEL_ORIGIN_ANY`
`static java.lang.String` | `LABEL_ORIGIN_DOCUMENT`
`static java.lang.String` | `LABEL_ORIGIN_EMBED`
`static java.lang.String` | `LABEL_ORIGIN_NONE`
`static java.lang.String` | `LABEL_PORT`
`static java.lang.String` | `LABEL_RESOURCE_ORIGIN`
`static java.lang.String` | `LABEL_SCRIPT_ORIGIN`
`static java.lang.String` | `LABEL_SECURE_SCRIPTING_TOGGLE`
`static java.lang.String` | `LABEL_SELECTION_XOR_MODE`
`static java.lang.String` | `LABEL_SHOW_DEBUG_TRACE`
`static java.lang.String` | `LABEL_SHOW_RENDERING`
`static java.lang.String` | `LABEL_USER_FONT`
`static java.lang.String` | `LABEL_USER_LANGUAGE`
`static java.lang.String` | `LABEL_USER_OPTIONS`
`static java.lang.String` | `LABEL_USER_STYLESHEET`
`protected LanguageDialog.Panel` | `languagePanel` Allows selection of the user languages
`protected javax.swing.JCheckBox` | `loadEcmascript`
`protected javax.swing.JCheckBox` | `loadJava`
`protected PreferenceManager` | `model` `PreferenceManager` used to store and retrieve preferences
`static int` | `OK_OPTION` The return value if 'OK' is chosen.
`protected javax.swing.JTextField` | `port`
`static java.lang.String` | `PREFERENCE_KEY_ALLOWED_EXTERNAL_RESOURCE_ORIGIN`
`static java.lang.String` | `PREFERENCE_KEY_ALLOWED_SCRIPT_ORIGIN`
`static java.lang.String` | `PREFERENCE_KEY_AUTO_ADJUST_WINDOW`
`static java.lang.String` | `PREFERENCE_KEY_CSS_MEDIA`
`static java.lang.String` | `PREFERENCE_KEY_DEFAULT_FONT_FAMILY`
`static java.lang.String` | `PREFERENCE_KEY_ENABLE_DOUBLE_BUFFERING`
`static java.lang.String` | `PREFERENCE_KEY_ENFORCE_SECURE_SCRIPTING`
`static java.lang.String` | `PREFERENCE_KEY_GRANT_SCRIPT_FILE_ACCESS`
`static java.lang.String` | `PREFERENCE_KEY_GRANT_SCRIPT_NETWORK_ACCESS`
`static java.lang.String` | `PREFERENCE_KEY_IS_XML_PARSER_VALIDATING`
`static java.lang.String` | `PREFERENCE_KEY_LANGUAGES`
`static java.lang.String` | `PREFERENCE_KEY_LOAD_ECMASCRIPT`
`static java.lang.String` | `PREFERENCE_KEY_LOAD_JAVA`
`static java.lang.String` | `PREFERENCE_KEY_PROXY_HOST`
`static java.lang.String` | `PREFERENCE_KEY_PROXY_PORT`
`static java.lang.String` | `PREFERENCE_KEY_SELECTION_XOR_MODE`
`static java.lang.String` | `PREFERENCE_KEY_SHOW_DEBUG_TRACE`
`static java.lang.String` | `PREFERENCE_KEY_SHOW_RENDERING`
`static java.lang.String` | `PREFERENCE_KEY_USER_STYLESHEET`
`protected javax.swing.ButtonGroup` | `resourceOriginGroup`
`protected int` | `returnCode` Code indicating whether the dialog was OKayed or cancelled
`protected javax.swing.ButtonGroup` | `scriptOriginGroup`
`protected javax.swing.JCheckBox` | `selectionXorMode`
`protected javax.swing.JCheckBox` | `showDebugTrace`
`protected javax.swing.JCheckBox` | `showRendering`
`static java.lang.String` | `TITLE_BEHAVIOR`
`static java.lang.String` | `TITLE_BROWSER_OPTIONS`
`static java.lang.String` | `TITLE_DIALOG`
`static java.lang.String` | `TITLE_NETWORK`
`static java.lang.String` | `TITLE_SECURITY`
`protected UserStyleDialog.Panel` | `userStylesheetPanel` Allows selection of a user stylesheet

Fields inherited from class javax.swing.JDialog
`accessibleContext, rootPane, rootPaneCheckingEnabled`

Fields inherited from class java.awt.Component
`BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT`

Fields inherited from interface org.apache.batik.ext.swing.GridBagConstants
`BOTH, CENTER, EAST, HORIZONTAL, NONE, NORTH, NORTHEAST, NORTHWEST, REMAINDER, SOUTH, SOUTHEAST, SOUTHWEST, VERTICAL, WEST`

Fields inherited from interface javax.swing.WindowConstants
`DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE`

Fields inherited from interface java.awt.image.ImageObserver
`ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH`

Constructor Summary
`PreferenceDialog(PreferenceManager model)` Default constructor

Method Summary
`protected java.awt.Component` | `buildApplications()`
`protected java.awt.Component` | `buildBehavior()`
`protected javax.swing.JPanel` | `buildButtonsPanel()` Creates the OK/Cancel buttons panel
`protected java.awt.Component` | `buildConfigPanel()`
`protected java.awt.Component` | `buildConfigPanelList()`
`protected void` | `buildGUI()` Builds the UI for this dialog
`protected java.awt.Component` | `buildNetwork()`
`protected java.awt.Component` | `buildUserFont()`
`protected java.awt.Component` | `buildUserLanguage()`
`protected java.awt.Component` | `buildUserOptions()`
`protected java.awt.Component` | `buildUserStyleSheet()`
`PreferenceManager` | `getPreferenceManager()` Returns the preference manager used by this dialog.
`protected void` | `initializeGUI()` Initializes the GUI components with the values from the model.
`static void` | `main(java.lang.String[] args)`
`protected void` | `savePreferences()` Stores current setting in PreferenceManager model
`int` | `showDialog()` Shows the dialog

Methods inherited from class javax.swing.JDialog
`addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update`

Methods inherited from class java.awt.Dialog
`addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show`

Methods inherited from class java.awt.Window
`addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront`

Methods inherited from class java.awt.Container
`add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree`

Methods inherited from class java.awt.Component
`action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### OK_OPTION

    public static final int OK_OPTION

  The return value if 'OK' is chosen.

  See Also:
    Constant Field Values

### CANCEL_OPTION

    public static final int CANCEL_OPTION

  The return value if 'Cancel' is chosen.

  See Also:
    Constant Field Values

### ICON_USER_LANGUAGE

    public static final java.lang.String ICON_USER_LANGUAGE

See Also:
  Constant Field Values

### ICON_USER_STYLESHEET

    public static final java.lang.String ICON_USER_STYLESHEET

See Also:
  Constant Field Values

### ICON_BEHAVIOR

    public static final java.lang.String ICON_BEHAVIOR

See Also:
  Constant Field Values

### ICON_NETWORK

    public static final java.lang.String ICON_NETWORK

See Also:
  Constant Field Values

### LABEL_USER_OPTIONS

    public static final java.lang.String LABEL_USER_OPTIONS

See Also:
  Constant Field Values

### LABEL_BEHAVIOR

    public static final java.lang.String LABEL_BEHAVIOR

See Also:
  Constant Field Values

### LABEL_NETWORK

    public static final java.lang.String LABEL_NETWORK

See Also:
  Constant Field Values

### LABEL_USER_LANGUAGE

    public static final java.lang.String LABEL_USER_LANGUAGE

See Also:
  Constant Field Values

### LABEL_USER_STYLESHEET

    public static final java.lang.String LABEL_USER_STYLESHEET

See Also:
  Constant Field Values

### LABEL_USER_FONT

    public static final java.lang.String LABEL_USER_FONT

See Also:
  Constant Field Values

### LABEL_APPLICATIONS

    public static final java.lang.String LABEL_APPLICATIONS

See Also:
  Constant Field Values

### LABEL_SHOW_RENDERING

    public static final java.lang.String LABEL_SHOW_RENDERING

See Also:
  Constant Field Values

### LABEL_AUTO_ADJUST_WINDOW

    public static final java.lang.String LABEL_AUTO_ADJUST_WINDOW

See Also:
  Constant Field Values

### LABEL_ENABLE_DOUBLE_BUFFERING

    public static final java.lang.String LABEL_ENABLE_DOUBLE_BUFFERING

See Also:
  Constant Field Values

### LABEL_SHOW_DEBUG_TRACE

    public static final java.lang.String LABEL_SHOW_DEBUG_TRACE

See Also:
  Constant Field Values

### LABEL_SELECTION_XOR_MODE

    public static final java.lang.String LABEL_SELECTION_XOR_MODE

See Also:
  Constant Field Values

### LABEL_IS_XML_PARSER_VALIDATING

    public static final java.lang.String LABEL_IS_XML_PARSER_VALIDATING

See Also:
  Constant Field Values

### LABEL_ENFORCE_SECURE_SCRIPTING

    public static final java.lang.String LABEL_ENFORCE_SECURE_SCRIPTING

See Also:
  Constant Field Values

### LABEL_SECURE_SCRIPTING_TOGGLE

    public static final java.lang.String LABEL_SECURE_SCRIPTING_TOGGLE

See Also:
  Constant Field Values

### LABEL_GRANT_SCRIPT_FILE_ACCESS

    public static final java.lang.String LABEL_GRANT_SCRIPT_FILE_ACCESS

See Also:
  Constant Field Values

### LABEL_GRANT_SCRIPT_NETWORK_ACCESS

    public static final java.lang.String LABEL_GRANT_SCRIPT_NETWORK_ACCESS

See Also:
  Constant Field Values

### LABEL_LOAD_JAVA

    public static final java.lang.String LABEL_LOAD_JAVA

See Also:
  Constant Field Values

### LABEL_LOAD_ECMASCRIPT

    public static final java.lang.String LABEL_LOAD_ECMASCRIPT

See Also:
  Constant Field Values

### LABEL_HOST

    public static final java.lang.String LABEL_HOST

See Also:
  Constant Field Values

### LABEL_PORT

    public static final java.lang.String LABEL_PORT

See Also:
  Constant Field Values

### LABEL_OK

    public static final java.lang.String LABEL_OK

See Also:
  Constant Field Values

### LABEL_LOAD_SCRIPTS

    public static final java.lang.String LABEL_LOAD_SCRIPTS

See Also:
  Constant Field Values

### LABEL_ORIGIN_ANY

    public static final java.lang.String LABEL_ORIGIN_ANY

See Also:
  Constant Field Values

### LABEL_ORIGIN_DOCUMENT

    public static final java.lang.String LABEL_ORIGIN_DOCUMENT

See Also:
  Constant Field Values

### LABEL_ORIGIN_EMBED

    public static final java.lang.String LABEL_ORIGIN_EMBED

See Also:
  Constant Field Values

### LABEL_ORIGIN_NONE

    public static final java.lang.String LABEL_ORIGIN_NONE

See Also:
  Constant Field Values

### LABEL_SCRIPT_ORIGIN

    public static final java.lang.String LABEL_SCRIPT_ORIGIN

See Also:
  Constant Field Values

### LABEL_RESOURCE_ORIGIN

    public static final java.lang.String LABEL_RESOURCE_ORIGIN

See Also:
  Constant Field Values

### LABEL_CANCEL

    public static final java.lang.String LABEL_CANCEL

See Also:
  Constant Field Values

### TITLE_BROWSER_OPTIONS

    public static final java.lang.String TITLE_BROWSER_OPTIONS

See Also:
  Constant Field Values

### TITLE_BEHAVIOR

    public static final java.lang.String TITLE_BEHAVIOR

See Also:
  Constant Field Values

### TITLE_SECURITY

    public static final java.lang.String TITLE_SECURITY

See Also:
  Constant Field Values

### TITLE_NETWORK

    public static final java.lang.String TITLE_NETWORK

See Also:
  Constant Field Values

### TITLE_DIALOG

    public static final java.lang.String TITLE_DIALOG

See Also:
  Constant Field Values

### CONFIG_HOST_TEXT_FIELD_LENGTH

    public static final java.lang.String CONFIG_HOST_TEXT_FIELD_LENGTH

See Also:
  Constant Field Values

### CONFIG_PORT_TEXT_FIELD_LENGTH

    public static final java.lang.String CONFIG_PORT_TEXT_FIELD_LENGTH

See Also:
  Constant Field Values

### CONFIG_OK_MNEMONIC

    public static final java.lang.String CONFIG_OK_MNEMONIC

See Also:
  Constant Field Values

### CONFIG_CANCEL_MNEMONIC

    public static final java.lang.String CONFIG_CANCEL_MNEMONIC

See Also:
  Constant Field Values

### PREFERENCE_KEY_LANGUAGES

    public static final java.lang.String PREFERENCE_KEY_LANGUAGES

See Also:
  Constant Field Values

### PREFERENCE_KEY_IS_XML_PARSER_VALIDATING

    public static final java.lang.String PREFERENCE_KEY_IS_XML_PARSER_VALIDATING

See Also:
  Constant Field Values

### PREFERENCE_KEY_USER_STYLESHEET

    public static final java.lang.String PREFERENCE_KEY_USER_STYLESHEET

See Also:
  Constant Field Values

### PREFERENCE_KEY_SHOW_RENDERING

    public static final java.lang.String PREFERENCE_KEY_SHOW_RENDERING

See Also:
  Constant Field Values

### PREFERENCE_KEY_AUTO_ADJUST_WINDOW

    public static final java.lang.String PREFERENCE_KEY_AUTO_ADJUST_WINDOW

See Also:
  Constant Field Values

### PREFERENCE_KEY_ENABLE_DOUBLE_BUFFERING

    public static final java.lang.String PREFERENCE_KEY_ENABLE_DOUBLE_BUFFERING

See Also:
  Constant Field Values

### PREFERENCE_KEY_SHOW_DEBUG_TRACE

    public static final java.lang.String PREFERENCE_KEY_SHOW_DEBUG_TRACE

See Also:
  Constant Field Values

### PREFERENCE_KEY_SELECTION_XOR_MODE

    public static final java.lang.String PREFERENCE_KEY_SELECTION_XOR_MODE

See Also:
  Constant Field Values

### PREFERENCE_KEY_PROXY_HOST

    public static final java.lang.String PREFERENCE_KEY_PROXY_HOST

See Also:
  Constant Field Values

### PREFERENCE_KEY_CSS_MEDIA

    public static final java.lang.String PREFERENCE_KEY_CSS_MEDIA

See Also:
  Constant Field Values

### PREFERENCE_KEY_DEFAULT_FONT_FAMILY

    public static final java.lang.String PREFERENCE_KEY_DEFAULT_FONT_FAMILY

See Also:
  Constant Field Values

### PREFERENCE_KEY_PROXY_PORT

    public static final java.lang.String PREFERENCE_KEY_PROXY_PORT

See Also:
  Constant Field Values

### PREFERENCE_KEY_ENFORCE_SECURE_SCRIPTING

    public static final java.lang.String PREFERENCE_KEY_ENFORCE_SECURE_SCRIPTING

See Also:
  Constant Field Values

### PREFERENCE_KEY_GRANT_SCRIPT_FILE_ACCESS

    public static final java.lang.String PREFERENCE_KEY_GRANT_SCRIPT_FILE_ACCESS

See Also:
  Constant Field Values

### PREFERENCE_KEY_GRANT_SCRIPT_NETWORK_ACCESS

    public static final java.lang.String PREFERENCE_KEY_GRANT_SCRIPT_NETWORK_ACCESS

See Also:
  Constant Field Values

### PREFERENCE_KEY_LOAD_ECMASCRIPT

    public static final java.lang.String PREFERENCE_KEY_LOAD_ECMASCRIPT

See Also:
  Constant Field Values

### PREFERENCE_KEY_LOAD_JAVA

    public static final java.lang.String PREFERENCE_KEY_LOAD_JAVA

See Also:
  Constant Field Values

### PREFERENCE_KEY_ALLOWED_SCRIPT_ORIGIN

    public static final java.lang.String PREFERENCE_KEY_ALLOWED_SCRIPT_ORIGIN

See Also:
  Constant Field Values

### PREFERENCE_KEY_ALLOWED_EXTERNAL_RESOURCE_ORIGIN

    public static final java.lang.String PREFERENCE_KEY_ALLOWED_EXTERNAL_RESOURCE_ORIGIN

See Also:
  Constant Field Values

### model

    protected PreferenceManager model

  `PreferenceManager` used to store and retrieve preferences

### configPanelSelector

    protected org.apache.batik.apps.svgbrowser.ConfigurationPanelSelector configPanelSelector

  Allows selection of the desired configuration panel

### languagePanel

    protected LanguageDialog.Panel languagePanel

  Allows selection of the user languages

### userStylesheetPanel

    protected UserStyleDialog.Panel userStylesheetPanel

  Allows selection of a user stylesheet

### showRendering

    protected javax.swing.JCheckBox showRendering

### autoAdjustWindow

    protected javax.swing.JCheckBox autoAdjustWindow

### showDebugTrace

    protected javax.swing.JCheckBox showDebugTrace

### enableDoubleBuffering

    protected javax.swing.JCheckBox enableDoubleBuffering

### selectionXorMode

    protected javax.swing.JCheckBox selectionXorMode

### isXMLParserValidating

    protected javax.swing.JCheckBox isXMLParserValidating

### enforceSecureScripting

    protected javax.swing.JCheckBox enforceSecureScripting

### grantScriptFileAccess

    protected javax.swing.JCheckBox grantScriptFileAccess

### grantScriptNetworkAccess

    protected javax.swing.JCheckBox grantScriptNetworkAccess

### loadJava

    protected javax.swing.JCheckBox loadJava

### loadEcmascript

    protected javax.swing.JCheckBox loadEcmascript

### scriptOriginGroup

    protected javax.swing.ButtonGroup scriptOriginGroup

### resourceOriginGroup

    protected javax.swing.ButtonGroup resourceOriginGroup

### host

    protected javax.swing.JTextField host

### port

    protected javax.swing.JTextField port

### cssMediaPanel

    protected CSSMediaPanel cssMediaPanel

### returnCode

    protected int returnCode

  Code indicating whether the dialog was OKayed or cancelled

Constructor Detail

### PreferenceDialog

    public PreferenceDialog(PreferenceManager model)

  Default constructor

Method Detail

### getPreferenceManager

    public PreferenceManager getPreferenceManager()

  Returns the preference manager used by this dialog.

### initializeGUI

    protected void initializeGUI()

  Initializes the GUI components with the values from the model.

### savePreferences

    protected void savePreferences()

  Stores current setting in PreferenceManager model

### buildGUI

    protected void buildGUI()

  Builds the UI for this dialog

### buildButtonsPanel

    protected javax.swing.JPanel buildButtonsPanel()

  Creates the OK/Cancel buttons panel

### buildConfigPanelList

    protected java.awt.Component buildConfigPanelList()

### buildConfigPanel

    protected java.awt.Component buildConfigPanel()

### buildUserOptions

    protected java.awt.Component buildUserOptions()

### buildUserLanguage

    protected java.awt.Component buildUserLanguage()

### buildUserStyleSheet

    protected java.awt.Component buildUserStyleSheet()

### buildUserFont

    protected java.awt.Component buildUserFont()

### buildBehavior

    protected java.awt.Component buildBehavior()

### buildNetwork

    protected java.awt.Component buildNetwork()

### buildApplications

    protected java.awt.Component buildApplications()

### showDialog

    public int showDialog()

  Shows the dialog

  Returns:
    OK_OPTION or CANCEL_OPTION

### main

    public static void main(java.lang.String[] args)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Apache Software Foundation. All Rights Reserved.