com.infoengine.modeler.UI
Class PreferencesDialog

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Dialog
                  extended byjavax.swing.JDialog
                      extended bycom.infoengine.modeler.UI.PreferencesDialog
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, RootPaneContainer, Serializable, WindowConstants

public class PreferencesDialog
extends JDialog

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
 
Nested classes inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog
 
Nested classes inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
Nested classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
(package private)  JButton AddButton
           
(package private)  TwoColumnLayout AppearanceLayout
           
(package private)  JPanel AppearancePanel
           
(package private)  JButton AttributeButton
           
(package private)  JButton AttributeValueButton
           
(package private)  JCheckBox AutoIndentCheckBox
           
(package private)  JButton BackgroundButton
           
(package private)  BorderLayout borderLayout1
           
(package private)  BorderLayout borderLayout2
           
(package private)  JPanel BottomPanel
           
(package private)  JPanel ButtonPanel
           
(package private)  JPanel ButtonPanel2
           
(package private)  JButton CancelButton
           
(package private)  BorderLayout ColorBorderLayout
           
(package private)  StackedLayout ColorButtonLayout
           
(package private)  JPanel ColorButtonPanel
           
(package private)  JPanel ColorPanel
           
(package private)  JButton CommentButton
           
(package private)  JButton CreateNewButton
           
(package private)  JButton DeleteButton
           
(package private)  JButton EditButton
           
(package private)  TwoColumnLayout EditorLayout
           
(package private)  JPanel EditorPanel
           
(package private)  JButton EqualsButton
           
(package private)  JPanel FillerPanel2
           
(package private)  JComboBox FontComboBox
           
(package private)  JLabel FontLabel
           
(package private)  JButton ForegroundButton
           
private  HelpDialog help
           
(package private)  JButton HelpButton
           
(package private)  JButton JSPButton
           
(package private)  JScrollPane ListScrollPane
           
(package private)  JPanel myPanel
           
(package private)  JTabbedPane myTabbedPane
           
(package private)  JButton OKButton
           
(package private)  JTextField PointSizeTextField
           
(package private)  JButton RemoveButton
           
(package private)  JScrollPane sampleScroll
           
(package private)  EditorTextComponent SampleTextArea
           
(package private)  JButton SelectButton
           
(package private)  JButton SelectTextButton
           
(package private)  JLabel SizeLabel
           
(package private)  JCheckBox SmartHomeCheckBox
           
(package private)  JCheckBox SmartTabCheckBox
           
(package private)  JLabel TabSizeLabel
           
(package private)  JTextField TabSizeTextField
           
(package private)  JButton TagButton
           
(package private)  JCheckBox TagInsightCheckBox
           
(package private)  JPanel TagInsightPanel
           
(package private)  Hashtable tagInsightTemplates
           
(package private)  JList TemplateList
           
(package private)  JPanel TopPanel
           
(package private)  TwoColumnLayout TopPanelLayout
           
(package private)  JComboBox UriComboBox
           
(package private)  JLabel UriLabel
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
 
Fields inherited from class java.awt.Window
 
Fields inherited from class java.awt.Container
 
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
PreferencesDialog()
           
PreferencesDialog(Frame frame, String title, boolean modal)
           
 
Method Summary
(package private)  void AddButton_actionPerformed(ActionEvent e)
           
(package private)  void AttributeButton_actionPerformed(ActionEvent e)
           
(package private)  void AttributeValueButton_actionPerformed(ActionEvent e)
           
(package private)  void BackgroundButton_actionPerformed(ActionEvent e)
           
(package private)  void CancelButton_actionPerformed(ActionEvent e)
           
(package private)  void CommentButton_actionPerformed(ActionEvent e)
           
(package private)  void CreateNewButton_actionPerformed(ActionEvent e)
           
(package private)  void DeleteButton_actionPerformed(ActionEvent e)
           
(package private)  void EditButton_actionPerformed(ActionEvent e)
           
(package private)  void EqualsButton_actionPerformed(ActionEvent e)
           
(package private)  void FontComboBox_actionPerformed(ActionEvent e)
           
(package private)  void ForegroundButton_actionPerformed(ActionEvent e)
           
private  Font generateFont()
           
private  Color getColor(Color oldColor)
           
private  Vector getTemplateList()
           
(package private)  void HelpButton_actionPerformed(ActionEvent e)
           
(package private)  void jbInit()
           
(package private)  void JSPButton_actionPerformed(ActionEvent e)
           
(package private)  void OKButton_actionPerformed(ActionEvent e)
           
(package private)  void PointSizeTextField_caretUpdate(CaretEvent e)
           
(package private)  void RemoveButton_actionPerformed(ActionEvent e)
           
private  void saveCurrentTagInsight()
           
(package private)  void SelectButton_actionPerformed(ActionEvent e)
           
(package private)  void SelectTextButton_actionPerformed(ActionEvent e)
           
(package private)  void TagButton_actionPerformed(ActionEvent e)
           
(package private)  void TagInsightCheckBox_actionPerformed(ActionEvent e)
           
(package private)  void UriComboBox_actionPerformed(ActionEvent e)
           
 
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

myPanel

JPanel myPanel

borderLayout1

BorderLayout borderLayout1

myTabbedPane

JTabbedPane myTabbedPane

AppearancePanel

JPanel AppearancePanel

EditorPanel

JPanel EditorPanel

FontComboBox

JComboBox FontComboBox

PointSizeTextField

JTextField PointSizeTextField

FontLabel

JLabel FontLabel

SizeLabel

JLabel SizeLabel

TabSizeTextField

JTextField TabSizeTextField

TabSizeLabel

JLabel TabSizeLabel

ButtonPanel

JPanel ButtonPanel

OKButton

JButton OKButton

CancelButton

JButton CancelButton

HelpButton

JButton HelpButton

AppearanceLayout

TwoColumnLayout AppearanceLayout

EditorLayout

TwoColumnLayout EditorLayout

TagInsightPanel

JPanel TagInsightPanel

borderLayout2

BorderLayout borderLayout2

TopPanel

JPanel TopPanel

BottomPanel

JPanel BottomPanel

ListScrollPane

JScrollPane ListScrollPane

TopPanelLayout

TwoColumnLayout TopPanelLayout

RemoveButton

JButton RemoveButton

AddButton

JButton AddButton

TemplateList

JList TemplateList

UriLabel

JLabel UriLabel

UriComboBox

JComboBox UriComboBox

FillerPanel2

JPanel FillerPanel2

ButtonPanel2

JPanel ButtonPanel2

DeleteButton

JButton DeleteButton

CreateNewButton

JButton CreateNewButton

tagInsightTemplates

Hashtable tagInsightTemplates

EditButton

JButton EditButton

SmartHomeCheckBox

JCheckBox SmartHomeCheckBox

SmartTabCheckBox

JCheckBox SmartTabCheckBox

TagInsightCheckBox

JCheckBox TagInsightCheckBox

AutoIndentCheckBox

JCheckBox AutoIndentCheckBox

ColorPanel

JPanel ColorPanel

ColorBorderLayout

BorderLayout ColorBorderLayout

ColorButtonPanel

JPanel ColorButtonPanel

SampleTextArea

EditorTextComponent SampleTextArea

sampleScroll

JScrollPane sampleScroll

ColorButtonLayout

StackedLayout ColorButtonLayout

SelectTextButton

JButton SelectTextButton

SelectButton

JButton SelectButton

BackgroundButton

JButton BackgroundButton

ForegroundButton

JButton ForegroundButton

JSPButton

JButton JSPButton

TagButton

JButton TagButton

AttributeButton

JButton AttributeButton

AttributeValueButton

JButton AttributeValueButton

EqualsButton

JButton EqualsButton

CommentButton

JButton CommentButton

help

private HelpDialog help
Constructor Detail

PreferencesDialog

public PreferencesDialog(Frame frame,
                         String title,
                         boolean modal)

PreferencesDialog

public PreferencesDialog()
Method Detail

jbInit

void jbInit()
      throws Exception
Throws:
Exception

generateFont

private Font generateFont()

OKButton_actionPerformed

void OKButton_actionPerformed(ActionEvent e)

HelpButton_actionPerformed

void HelpButton_actionPerformed(ActionEvent e)

CancelButton_actionPerformed

void CancelButton_actionPerformed(ActionEvent e)

FontComboBox_actionPerformed

void FontComboBox_actionPerformed(ActionEvent e)

PointSizeTextField_caretUpdate

void PointSizeTextField_caretUpdate(CaretEvent e)

RemoveButton_actionPerformed

void RemoveButton_actionPerformed(ActionEvent e)

TagButton_actionPerformed

void TagButton_actionPerformed(ActionEvent e)

JSPButton_actionPerformed

void JSPButton_actionPerformed(ActionEvent e)

AttributeButton_actionPerformed

void AttributeButton_actionPerformed(ActionEvent e)

AttributeValueButton_actionPerformed

void AttributeValueButton_actionPerformed(ActionEvent e)

EqualsButton_actionPerformed

void EqualsButton_actionPerformed(ActionEvent e)

CommentButton_actionPerformed

void CommentButton_actionPerformed(ActionEvent e)

AddButton_actionPerformed

void AddButton_actionPerformed(ActionEvent e)

DeleteButton_actionPerformed

void DeleteButton_actionPerformed(ActionEvent e)

CreateNewButton_actionPerformed

void CreateNewButton_actionPerformed(ActionEvent e)

UriComboBox_actionPerformed

void UriComboBox_actionPerformed(ActionEvent e)

getTemplateList

private Vector getTemplateList()

saveCurrentTagInsight

private void saveCurrentTagInsight()

EditButton_actionPerformed

void EditButton_actionPerformed(ActionEvent e)

TagInsightCheckBox_actionPerformed

void TagInsightCheckBox_actionPerformed(ActionEvent e)

getColor

private Color getColor(Color oldColor)

BackgroundButton_actionPerformed

void BackgroundButton_actionPerformed(ActionEvent e)

ForegroundButton_actionPerformed

void ForegroundButton_actionPerformed(ActionEvent e)

SelectButton_actionPerformed

void SelectButton_actionPerformed(ActionEvent e)

SelectTextButton_actionPerformed

void SelectTextButton_actionPerformed(ActionEvent e)