org.xmlhammer.gui.preferences
Class PropertiesDialog

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Dialog
                  extended by javax.swing.JDialog
                      extended by org.bounce.QDialog
                          extended by org.bounce.preferences.PreferencesDialog
                              extended by org.xmlhammer.gui.util.preferences.HelpEnabledPreferencesDialog
                                  extended by org.xmlhammer.gui.preferences.JAXPPropertiesDialog
                                      extended by org.xmlhammer.gui.preferences.PropertiesDialog
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.TreeSelectionListener, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class PropertiesDialog
extends JAXPPropertiesDialog
implements javax.swing.event.TreeSelectionListener

Put comment...

Version:
$Revision: 1.12 $, $Date: 2007/07/04 19:42:50 $
Author:
Edwin Dankert
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Nested classes/interfaces inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class org.xmlhammer.gui.preferences.JAXPPropertiesDialog
documentBuilderFactoryAttributesPanel, documentBuilderFactoryFeaturesPanel, documentBuilderFactoryPreferencesPanel, prefixNamespaceMappingsPanel, saxParserFactoryFeaturesPanel, saxParserFactoryPreferencesPanel, saxParserFactoryPropertiesPanel, schemaFactoryFeaturesPanel, schemaFactoryPreferencesPanel, schemaFactoryPropertiesPanel, transformerFactoryAttributesPanel, transformerFactoryFeaturesPanel, transformerFactoryPreferencesPanel, xpathFactoryFeaturesPanel, xpathFactoryPreferencesPanel
 
Fields inherited from class org.xmlhammer.gui.util.preferences.HelpEnabledPreferencesDialog
CANCEL_OPTION, OK_OPTION
 
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 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
PropertiesDialog(javax.swing.JFrame parent, boolean saxParserFactory, boolean documentBuilderFactory, boolean xpathFactory, boolean transformerFactory, boolean schemaFactory)
           
 
Method Summary
 JAXPDocumentBuilderFactory getDocumentBuilderFactory()
           
protected  AttributesPanel getDocumentBuilderFactoryAttributesPanel()
           
protected  FeaturesPanel getDocumentBuilderFactoryFeaturesPanel()
           
protected  DocumentBuilderFactoryPreferencesPanel getDocumentBuilderFactoryPreferencesPanel()
           
protected  PrefixNamespaceMappingsPanel getPrefixNamespaceMappingsPanel()
           
 JAXPSAXParserFactory getSAXParserFactory()
           
protected  FeaturesPanel getSAXParserFactoryFeaturesPanel()
           
protected  SAXParserFactoryPreferencesPanel getSAXParserFactoryPreferencesPanel()
           
protected  PropertiesPanel getSAXParserFactoryPropertiesPanel()
           
 JAXPSchemaFactory getSchemaFactory()
           
protected  FeaturesPanel getSchemaFactoryFeaturesPanel()
           
protected  SchemaFactoryPreferencesPanel getSchemaFactoryPreferencesPanel()
           
protected  PropertiesPanel getSchemaFactoryPropertiesPanel()
           
 JAXPTransformerFactory getTransformerFactory()
           
protected  AttributesPanel getTransformerFactoryAttributesPanel()
           
protected  FeaturesPanel getTransformerFactoryFeaturesPanel()
           
protected  TransformerFactoryPreferencesPanel getTransformerFactoryPreferencesPanel()
           
 JAXPXPathFactory getXPathFactory()
           
protected  FeaturesPanel getXPathFactoryFeaturesPanel()
           
protected  XPathFactoryPreferencesPanel getXPathFactoryPreferencesPanel()
           
 void setDocumentBuilderFactory(JAXPDocumentBuilderFactory factory)
           
 void setSAXParserFactory(JAXPSAXParserFactory factory)
           
 void setSchemaFactory(JAXPSchemaFactory factory)
           
 void setTransformerFactory(JAXPTransformerFactory factory)
           
 void setXPathFactory(JAXPXPathFactory factory)
           
 
Methods inherited from class org.xmlhammer.gui.preferences.JAXPPropertiesDialog
getPreferences
 
Methods inherited from class org.xmlhammer.gui.util.preferences.HelpEnabledPreferencesDialog
cancel, close, createCenterPanel, createSouthPanel, getSelectedOption, hideHelpPanel, open, restore, showHelpPanel
 
Methods inherited from class org.bounce.preferences.PreferencesDialog
add, createButtonPanel, getCancelButton, getCards, getOkButton, valueChanged
 
Methods inherited from class org.bounce.QDialog
isCancelled
 
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, 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, dispose, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, 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, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, firePropertyChange, firePropertyChange, 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, getMousePosition, 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, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, 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, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.swing.event.TreeSelectionListener
valueChanged
 

Constructor Detail

PropertiesDialog

public PropertiesDialog(javax.swing.JFrame parent,
                        boolean saxParserFactory,
                        boolean documentBuilderFactory,
                        boolean xpathFactory,
                        boolean transformerFactory,
                        boolean schemaFactory)
Parameters:
parent - the underlying frame
saxParserFactory - the SAXParserFactory settings to display.
documentBuilderFactory - the DocumentBuilderFactory settings to display.
xpathFactory - the XPathFactory settings to display.
transformerFactory - the TransformerFactory settings to display.
schemaFactory - the SchemaFactorySettings to display.
Method Detail

getSAXParserFactoryPreferencesPanel

protected SAXParserFactoryPreferencesPanel getSAXParserFactoryPreferencesPanel()
Overrides:
getSAXParserFactoryPreferencesPanel in class JAXPPropertiesDialog

getSAXParserFactoryPropertiesPanel

protected PropertiesPanel getSAXParserFactoryPropertiesPanel()
Overrides:
getSAXParserFactoryPropertiesPanel in class JAXPPropertiesDialog

getSAXParserFactoryFeaturesPanel

protected FeaturesPanel getSAXParserFactoryFeaturesPanel()
Overrides:
getSAXParserFactoryFeaturesPanel in class JAXPPropertiesDialog

getDocumentBuilderFactoryPreferencesPanel

protected DocumentBuilderFactoryPreferencesPanel getDocumentBuilderFactoryPreferencesPanel()
Overrides:
getDocumentBuilderFactoryPreferencesPanel in class JAXPPropertiesDialog

getDocumentBuilderFactoryAttributesPanel

protected AttributesPanel getDocumentBuilderFactoryAttributesPanel()
Overrides:
getDocumentBuilderFactoryAttributesPanel in class JAXPPropertiesDialog

getDocumentBuilderFactoryFeaturesPanel

protected FeaturesPanel getDocumentBuilderFactoryFeaturesPanel()
Overrides:
getDocumentBuilderFactoryFeaturesPanel in class JAXPPropertiesDialog

getTransformerFactoryPreferencesPanel

protected TransformerFactoryPreferencesPanel getTransformerFactoryPreferencesPanel()
Overrides:
getTransformerFactoryPreferencesPanel in class JAXPPropertiesDialog

getTransformerFactoryAttributesPanel

protected AttributesPanel getTransformerFactoryAttributesPanel()
Overrides:
getTransformerFactoryAttributesPanel in class JAXPPropertiesDialog

getTransformerFactoryFeaturesPanel

protected FeaturesPanel getTransformerFactoryFeaturesPanel()
Overrides:
getTransformerFactoryFeaturesPanel in class JAXPPropertiesDialog

getXPathFactoryPreferencesPanel

protected XPathFactoryPreferencesPanel getXPathFactoryPreferencesPanel()
Overrides:
getXPathFactoryPreferencesPanel in class JAXPPropertiesDialog

getPrefixNamespaceMappingsPanel

protected PrefixNamespaceMappingsPanel getPrefixNamespaceMappingsPanel()
Overrides:
getPrefixNamespaceMappingsPanel in class JAXPPropertiesDialog

getXPathFactoryFeaturesPanel

protected FeaturesPanel getXPathFactoryFeaturesPanel()
Overrides:
getXPathFactoryFeaturesPanel in class JAXPPropertiesDialog

getSchemaFactoryPreferencesPanel

protected SchemaFactoryPreferencesPanel getSchemaFactoryPreferencesPanel()
Overrides:
getSchemaFactoryPreferencesPanel in class JAXPPropertiesDialog

getSchemaFactoryPropertiesPanel

protected PropertiesPanel getSchemaFactoryPropertiesPanel()
Overrides:
getSchemaFactoryPropertiesPanel in class JAXPPropertiesDialog

getSchemaFactoryFeaturesPanel

protected FeaturesPanel getSchemaFactoryFeaturesPanel()
Overrides:
getSchemaFactoryFeaturesPanel in class JAXPPropertiesDialog

getSAXParserFactory

public JAXPSAXParserFactory getSAXParserFactory()
Returns:
the SAXParserfactory settings, null if global settings should be used.

setSAXParserFactory

public void setSAXParserFactory(JAXPSAXParserFactory factory)
Parameters:
factory - the SAXParserFactory settings.

setDocumentBuilderFactory

public void setDocumentBuilderFactory(JAXPDocumentBuilderFactory factory)
Parameters:
factory - the DocumentBuilderFactory settings.

getDocumentBuilderFactory

public JAXPDocumentBuilderFactory getDocumentBuilderFactory()
Returns:
the DocumentBuilderFactory settings, null if global settings should be used.

setTransformerFactory

public void setTransformerFactory(JAXPTransformerFactory factory)
Parameters:
factory - the TransformerFactory settings.

getTransformerFactory

public JAXPTransformerFactory getTransformerFactory()
Returns:
the TransformerFactory settings, null if global settings should be used.

setXPathFactory

public void setXPathFactory(JAXPXPathFactory factory)
Parameters:
factory - the XPathFactory settings.

getXPathFactory

public JAXPXPathFactory getXPathFactory()
Returns:
the XPathFactory settings, null if global settings should be used.

getSchemaFactory

public JAXPSchemaFactory getSchemaFactory()
Returns:
the SchemaFactory settings, null if global settings should be used.

setSchemaFactory

public void setSchemaFactory(JAXPSchemaFactory factory)
Parameters:
factory - the SAXParserFactory settings.


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.