| 
 | Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.dacf.control.swing.find.DacFindPanelUI
The DacFindPanelUI implements the default UI for the FindPanel. It displays a text field for each queryable column along with a label and tool tip text. It also displays buttons for find, reset etc., It delegates the find operation to the FindPanel.
FindPanel| Field Summary | |
| protected  javax.swing.JPanel | _bottomPanelbottom panel contains the statusbar label and the button panels | 
| protected  javax.swing.JButton[] | _buttonCustomEditorbuttons which bring up custom editors | 
| protected  java.util.Vector | _buttonListenersbutton click listeners | 
| protected  javax.swing.JPanel | _buttonPanelAll our buttons go here. | 
| protected  javax.swing.JButton[] | _buttons | 
| protected  boolean[] | _buttonState | 
| protected  javax.swing.JButton | _closeButtonClose button on the button panel | 
| protected  java.util.Hashtable | _commandscommand to implement each property | 
| protected  javax.swing.JPanel | _contentPanelouter panel which in turn houses _icon and _data panels. | 
| protected  javax.swing.JPanel | _dataPanellabels and text fields displayed in this panel | 
| protected  java.lang.String | _defaultLabelFontNamefont for label | 
| protected  java.lang.String | _defaultTextFontNamefont for text field | 
| protected  FindItemEditor[] | _editorthe actual editors used to edit a Find item | 
| protected  boolean | _enabledFindPanel enabled/disabled | 
| protected  javax.swing.JButton | _findButtonfind button on the button panel | 
| protected  javax.swing.Icon | _findIconfind icon | 
| protected  javax.swing.JButton | _helpButtonhelp button on the button panel | 
| protected  javax.swing.JPanel | _iconPaneldisplay icon here | 
| protected  javax.swing.JLabel[] | _labellabels in the data panel. | 
| protected  java.awt.Color | _labelBackColorbackground color for the label | 
| protected  java.awt.Font | _labelFontfont for label | 
| protected  java.awt.Color | _labelForeColorforeground color for the label | 
| protected  javax.swing.JLabel | _labelIcondisplay find icon using this label | 
| protected  javax.swing.JLabel | _labelStatusBarstatus bar control | 
| protected  javax.swing.JButton | _orButtonOR button on the button panel | 
| protected  javax.swing.JPanel | _paneltop level container | 
| protected  FindPanel | _parentA handle to the parent so that we can delegate some of the functionality like Find. | 
| protected  java.awt.Dimension | _preferredButtonSizebutton size | 
| protected  java.util.Hashtable | _propertiesList of properties DacFindPanelUI implements | 
| protected  javax.swing.JButton | _removeAllButtonRemove button on the button panel | 
| protected  javax.swing.JButton | _removeButtonRemove button on the button panel | 
| protected  javax.swing.JButton | _resetButtonreset button on the button panel | 
| protected  java.awt.Color | _textBackColorbackground color for the textfield | 
| protected  int | _textColumnWidthdefault column width for the text field | 
| protected  javax.swing.JTextField[] | _textFieldtext fields in the data panel. | 
| protected  java.awt.Font | _textFontfont for text field | 
| protected  java.awt.Color | _textForeColorforeground color for the textfield | 
| Fields inherited from interface oracle.dacf.control.swing.find.FindPanelUI | 
| ENABLED, FIND_ICON, INNER_PANEL, INNER_PANEL_LYT_MGR, ITEM_DIRECTION, ITEM_EDITORS, LABEL_BACK_CLR, LABEL_FONT, LABEL_FORE_CLR, LABEL_POSITION, PARENT_CONTAINER, SHOW_CLOSE_BUTTON, SHOW_FIND_BUTTON, SHOW_FIND_ICON, SHOW_HELP_BUTTON, SHOW_OR_BUTTON, SHOW_REMOVE_ALL_BUTTON, SHOW_REMOVE_BUTTON, SHOW_RESET_BUTTON, SHOW_STATUS_BAR, TEXT_BACK_CLR, TEXT_COLUMN_WIDTH, TEXT_FONT, TEXT_FORE_CLR | 
| Constructor Summary | |
| DacFindPanelUI()Constructor | |
| Method Summary | |
| protected  javax.swing.JPanel | _createBottomPanel() | 
| protected  javax.swing.JPanel | _createContentPanel()create a panel which contains the icon panel and the data panel | 
| protected  javax.swing.JTabbedPane | _createTabbedContentPane(javax.swing.JPanel contents)create a tabbed version of content panel | 
|  void | _notifyButtonClick(int whichButton)notification that the button click happened. | 
|  void | actionPerformed(java.awt.event.ActionEvent e)Button click occured | 
|  void | addButtonClickListener(DacFindPanelUIListener listener)Adds a button click listener to this control. | 
|  java.awt.Component | buildPanel()return a Panel reflectiong the panel to be displayed. | 
|  java.lang.Object | getProperty(int property)get property value | 
|  void | itemChanged()A notification from the parent that one or more data item names changed. | 
|  void | itemValueChanged(int column)A notification from the paraent that the column value changed. | 
|  void | removeButtonClickListener(DacFindPanelUIListener l)Removes a button listener | 
|  void | setParent(FindPanel parent)set the parent which will use the customized UI panel. | 
|  void | setProperty(int property,
            java.lang.Object value)specify a property value to customize the UI | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected FindPanel _parent
protected javax.swing.JPanel _panel
protected javax.swing.JPanel _iconPanel
protected javax.swing.JPanel _dataPanel
protected javax.swing.JPanel _contentPanel
protected javax.swing.JPanel _buttonPanel
protected javax.swing.JPanel _bottomPanel
protected javax.swing.JButton _findButton
protected javax.swing.JButton _resetButton
protected javax.swing.JButton _closeButton
protected javax.swing.JButton _helpButton
protected javax.swing.JButton _orButton
protected javax.swing.JButton _removeButton
protected javax.swing.JButton _removeAllButton
protected javax.swing.JLabel[] _label
protected javax.swing.JTextField[] _textField
protected javax.swing.JLabel _labelStatusBar
protected javax.swing.JButton[] _buttonCustomEditor
protected FindItemEditor[] _editor
protected java.util.Hashtable _properties
protected java.util.Hashtable _commands
protected java.util.Vector _buttonListeners
protected java.lang.String _defaultLabelFontName
protected java.lang.String _defaultTextFontName
protected java.awt.Dimension _preferredButtonSize
protected javax.swing.JLabel _labelIcon
protected javax.swing.Icon _findIcon
protected java.awt.Font _labelFont
protected java.awt.Font _textFont
protected java.awt.Color _labelForeColor
protected java.awt.Color _labelBackColor
protected java.awt.Color _textForeColor
protected java.awt.Color _textBackColor
protected int _textColumnWidth
protected boolean _enabled
protected javax.swing.JButton[] _buttons
protected boolean[] _buttonState
| Constructor Detail | 
public DacFindPanelUI()
| Method Detail | 
public void setParent(FindPanel parent)
setParent in interface FindPanelUIparent - public void itemChanged()
itemChanged in interface FindPanelUIpublic void itemValueChanged(int column)
itemValueChanged in interface FindPanelUIcolumn - whose value (some attribute) has changedpublic java.awt.Component buildPanel()
buildPanel in interface FindPanelUI
public void setProperty(int property,
                        java.lang.Object value)
setProperty in interface FindPanelUIproperty - id for the property we are trying to setvalue - for the propertypublic java.lang.Object getProperty(int property)
getProperty in interface FindPanelUIproperty - id for the property we are interested in
public final void addButtonClickListener(DacFindPanelUIListener listener)
The listener will be notified when one of the button is clicked by the user
listener - The listener to add.Control#addNavigatedListenerpublic final void removeButtonClickListener(DacFindPanelUIListener l)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - ActionEvent object with event detailsprotected javax.swing.JTabbedPane _createTabbedContentPane(javax.swing.JPanel contents)
protected javax.swing.JPanel _createContentPanel()
protected javax.swing.JPanel _createBottomPanel()
public void _notifyButtonClick(int whichButton)
whichButton - a constant indicating which button was clicked| 
 | Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2003, Oracle. All rights reserved.