ABLE 2.0.0 07/02/2003 10:25:01

com.ibm.able.editor
Class AbleInspectorOptionsDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--com.ibm.able.editor.AbleInspectorOptionsDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class AbleInspectorOptionsDialog
extends javax.swing.JDialog

This class provides a dialog with a tabbed property panel and standard tabs for Able Inspector Views.

Standard tabs are:

General tab
where the header, footer, legend, and axis labelling options may be specified.
Text tab
where the number of columns is specified.header, footer, legend, and
Bar chart tab
Line chart tab
Scatter plot tab
Time plot tab

See Also:
Serialized Form

Inner Class Summary
 class AbleInspectorOptionsDialog.AreaChartPanel
          This class provides the Area Plot inspector tab.
 class AbleInspectorOptionsDialog.BarChartPanel
          This class provides the Bar chart inspector tab.
 class AbleInspectorOptionsDialog.LineChartPanel
          This class provides the Line Chart inspector tab.
 class AbleInspectorOptionsDialog.ScatterPlotPanel
          This class provides the Scatter Plot inspector tab.
 class AbleInspectorOptionsDialog.StackedAreaPanel
          This class provides the Stacked Area Plot inspector tab.
 class AbleInspectorOptionsDialog.StackedBarPanel
          This class provides the Stacked Bar chart inspector tab.
 class AbleInspectorOptionsDialog.TextPanel
          This class provides the Text inspector tab.
 class AbleInspectorOptionsDialog.TextSeriesPanel
          This class provides the Text Series inspector tab.
 class AbleInspectorOptionsDialog.TimePlotPanel
          This class provides the Time Plot inspector tab.
 
Inner classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Inner classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Inner classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
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, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
AbleInspectorOptionsDialog(AbleInspector theInspector, java.lang.String theTitle, boolean isModal)
          Create the property tabbed panel and add the standard tabs.
AbleInspectorOptionsDialog(java.lang.String sTitle)
          other constructors added by viscafe
 
Method Summary
 void addNotify()
           
 void addTab(AbleInspectorPanel thePanel)
          Append a panel to the tabbed panel.
 void addTab(java.lang.String theTabTitle, AbleInspectorPanel thePanel)
          Append a panel to the tabbed panel.
static java.lang.String Copyright()
          Determine the copyright of this class.
 AbleInspectorContext getContext()
           
 void insertTab(java.lang.String theTabTitle, AbleInspectorPanel thePanel, int theIndex)
          Insert a panel in the tabbed list at a specific location.
 void insertTab(java.lang.String theTabTitle, javax.swing.Icon theIcon, AbleInspectorPanel thePanel, java.lang.String theToolTip, int theIndex)
          Insert a panel in the tabbed list at a specific location.
static void main(java.lang.String[] args)
          Construct a new object and display the customizer.
 void setContext(AbleInspectorContext theContext)
           
 void setVisible(boolean b)
           
 boolean userCancelled()
          Find out if the user pressed cancel.
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
dispose, getTitle, hide, isModal, isResizable, setModal, setResizable, setTitle, show
 
Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, finalize, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, processEvent, removeWindowListener, setCursor, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, 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, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbleInspectorOptionsDialog

public AbleInspectorOptionsDialog(AbleInspector theInspector,
                                  java.lang.String theTitle,
                                  boolean isModal)
Create the property tabbed panel and add the standard tabs.
Parameters:
theInspector - The inspector frame to own this property dialog.
theTitle - The title of the property dialog.
isModal - This flag makes the dialog modal when true.

AbleInspectorOptionsDialog

public AbleInspectorOptionsDialog(java.lang.String sTitle)
other constructors added by viscafe
Method Detail

main

public static void main(java.lang.String[] args)
Construct a new object and display the customizer. For testing only,

setContext

public void setContext(AbleInspectorContext theContext)

getContext

public AbleInspectorContext getContext()

userCancelled

public boolean userCancelled()
Find out if the user pressed cancel.

addTab

public void addTab(AbleInspectorPanel thePanel)
Append a panel to the tabbed panel.
Parameters:
thePanel - The panel to be added as a tab.

addTab

public void addTab(java.lang.String theTabTitle,
                   AbleInspectorPanel thePanel)
Append a panel to the tabbed panel.
Parameters:
theTabTitle - The string to display on the tab as the name.
thePanel - The panel to be added as a tab.

insertTab

public void insertTab(java.lang.String theTabTitle,
                      AbleInspectorPanel thePanel,
                      int theIndex)
Insert a panel in the tabbed list at a specific location.
Parameters:
theTabTitle - The string to display on the tab as the name.
thePanel - The panel to be added as a tab.
theIndex - The position to insert the the tab.

insertTab

public void insertTab(java.lang.String theTabTitle,
                      javax.swing.Icon theIcon,
                      AbleInspectorPanel thePanel,
                      java.lang.String theToolTip,
                      int theIndex)
Insert a panel in the tabbed list at a specific location.
Parameters:
theTabTitle - The string to display on the tab as the name.
theIcon - The icon to display on the tab panel.
thePanel - The panel to be added as a tab.
theIndex - The position to insert the the tab.

addNotify

public void addNotify()
Overrides:
addNotify in class java.awt.Dialog

setVisible

public void setVisible(boolean b)
Overrides:
setVisible in class java.awt.Component

Copyright

public static java.lang.String Copyright()
Determine the copyright of this class.
Returns:
A String containing this class's copyright statement.


ABLE 2.0.0 07/02/2003 10:25:01

(C) Copyright IBM Corporation 1999, 2003