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

com.ibm.able.editor
Class AbleUserDefinedFunctionDialog

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

public class AbleUserDefinedFunctionDialog
extends javax.swing.JDialog
implements AbleCustomizer

This class provides a dialog to display user-defined functions for an object.

See Also:
AbleUserDefinedFunctionPanel, Serialized Form

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
AbleUserDefinedFunctionDialog(javax.swing.JFrame theFrame, java.lang.String theTitle)
          Create the dialog and add the userdefined function panel to it.
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          This allows other objects to register when this customizer changes.
static java.lang.String Copyright()
          Determine the copyright of this class.
 java.net.URL getHelpURL()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
          This allows other objects to deregister from changes to this customizer.
 void setAbleHelpURL(java.lang.String theAbleHTML)
           
 void setHelpURL(java.net.URL theContext, java.lang.String theHTML)
           
 void setObject(java.lang.Object theObject)
          Get a reference to the object to be customized.
 void setVisible(boolean b)
          When a customizer is displayed, place it relative to the parent location.
 void updateObject()
          Update the customized object by calling the panel and telling it to get its panel data and write it to the object.
 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
addNotify, 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, 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, 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

AbleUserDefinedFunctionDialog

public AbleUserDefinedFunctionDialog(javax.swing.JFrame theFrame,
                                     java.lang.String theTitle)
Create the dialog and add the userdefined function panel to it.
Parameters:
theFrame - The frame to own this property dialog.
theTitle - The title of the property dialog.
Method Detail

setVisible

public void setVisible(boolean b)
When a customizer is displayed, place it relative to the parent location.
Overrides:
setVisible in class java.awt.Component

setObject

public void setObject(java.lang.Object theObject)
Get a reference to the object to be customized. Add a property change listener to this object so we can update panels appropriately when properties change. Pass the object to the panels so its properties can be written to the screen.
Specified by:
setObject in interface java.beans.Customizer
See Also:
AbleCustomizer

updateObject

public void updateObject()
                  throws java.rmi.RemoteException
Update the customized object by calling the panel and telling it to get its panel data and write it to the object.
Specified by:
updateObject in interface AbleCustomizer
See Also:
AbleCustomizer

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
This allows other objects to register when this customizer changes.
Specified by:
addPropertyChangeListener in interface java.beans.Customizer
Overrides:
addPropertyChangeListener in class java.awt.Component
See Also:
PropertyChangeListener, removePropertyChangeListener(java.beans.PropertyChangeListener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
This allows other objects to deregister from changes to this customizer.
Specified by:
removePropertyChangeListener in interface java.beans.Customizer
Overrides:
removePropertyChangeListener in class java.awt.Component
See Also:
PropertyChangeListener, removePropertyChangeListener(java.beans.PropertyChangeListener)

userCancelled

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

getHelpURL

public java.net.URL getHelpURL()

setHelpURL

public void setHelpURL(java.net.URL theContext,
                       java.lang.String theHTML)

setAbleHelpURL

public void setAbleHelpURL(java.lang.String theAbleHTML)

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