Oracle Data-aware Controls Reference

oracle.dacf.control.swing.find
Interface FindPanelUI

All Known Implementing Classes:
DacFindPanelUI, ViewCriteriaFindPanelUI

public interface FindPanelUI

FindPanelUI. This interface used by FindPanel to customize the UI displayed.

Version:
SDK
See Also:
FindPanel

Field Summary
static int ENABLED
          property id to specify if the FindPanel should be enable/disabled
static int FIND_ICON
          property id to set the find icon
static int INNER_PANEL
          property id to retrieve the inner panel
static int INNER_PANEL_LYT_MGR
          property id to set the inner panel layout manager
static int ITEM_DIRECTION
          property id for item direction
static int ITEM_EDITORS
          property id to specify the editor used for each column
static int LABEL_BACK_CLR
          property id to specify the background color for the label
static int LABEL_FONT
          property id to specify the font for the label
static int LABEL_FORE_CLR
          property id to specify the foreground color for the label
static int LABEL_POSITION
          property id for label position
static int PARENT_CONTAINER
          property id to specify the 'Parent container' which holds the FindPanel object.
static int SHOW_CLOSE_BUTTON
          property id to control whether CLOSE button is displayed
static int SHOW_FIND_BUTTON
          property id to control whether Find button is displayed
static int SHOW_FIND_ICON
          property id to control whether find icon is displayed
static int SHOW_HELP_BUTTON
          property id to control whether HELP button is displayed
static int SHOW_OR_BUTTON
          property id to specify if the OR button should be displayed
static int SHOW_REMOVE_ALL_BUTTON
          property id to specify if the remove all button should be displayed
static int SHOW_REMOVE_BUTTON
          property id to specify if the REMOVE button should be displayed
static int SHOW_RESET_BUTTON
          property id to control whether RESET button is displayed
static int SHOW_STATUS_BAR
          property id to specify if the status bar should be displayed
static int TEXT_BACK_CLR
          property id to specify the background color for the textfield
static int TEXT_COLUMN_WIDTH
          property id to specify the column width for the textfield
static int TEXT_FONT
          property id to specify the font for the textfield
static int TEXT_FORE_CLR
          property id to specify the foreground color for the textfield
 
Method Summary
 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 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
 

Field Detail

LABEL_POSITION

public static final int LABEL_POSITION
property id for label position

See Also:
Constant Field Values

ITEM_DIRECTION

public static final int ITEM_DIRECTION
property id for item direction

See Also:
Constant Field Values

SHOW_FIND_BUTTON

public static final int SHOW_FIND_BUTTON
property id to control whether Find button is displayed

See Also:
Constant Field Values

SHOW_RESET_BUTTON

public static final int SHOW_RESET_BUTTON
property id to control whether RESET button is displayed

See Also:
Constant Field Values

SHOW_CLOSE_BUTTON

public static final int SHOW_CLOSE_BUTTON
property id to control whether CLOSE button is displayed

See Also:
Constant Field Values

SHOW_HELP_BUTTON

public static final int SHOW_HELP_BUTTON
property id to control whether HELP button is displayed

See Also:
Constant Field Values

SHOW_FIND_ICON

public static final int SHOW_FIND_ICON
property id to control whether find icon is displayed

See Also:
Constant Field Values

FIND_ICON

public static final int FIND_ICON
property id to set the find icon

See Also:
Constant Field Values

INNER_PANEL_LYT_MGR

public static final int INNER_PANEL_LYT_MGR
property id to set the inner panel layout manager

See Also:
Constant Field Values

INNER_PANEL

public static final int INNER_PANEL
property id to retrieve the inner panel

See Also:
Constant Field Values

LABEL_FONT

public static final int LABEL_FONT
property id to specify the font for the label

See Also:
Constant Field Values

TEXT_FONT

public static final int TEXT_FONT
property id to specify the font for the textfield

See Also:
Constant Field Values

LABEL_FORE_CLR

public static final int LABEL_FORE_CLR
property id to specify the foreground color for the label

See Also:
Constant Field Values

TEXT_FORE_CLR

public static final int TEXT_FORE_CLR
property id to specify the foreground color for the textfield

See Also:
Constant Field Values

LABEL_BACK_CLR

public static final int LABEL_BACK_CLR
property id to specify the background color for the label

See Also:
Constant Field Values

TEXT_BACK_CLR

public static final int TEXT_BACK_CLR
property id to specify the background color for the textfield

See Also:
Constant Field Values

TEXT_COLUMN_WIDTH

public static final int TEXT_COLUMN_WIDTH
property id to specify the column width for the textfield

See Also:
Constant Field Values

ITEM_EDITORS

public static final int ITEM_EDITORS
property id to specify the editor used for each column

See Also:
Constant Field Values

SHOW_STATUS_BAR

public static final int SHOW_STATUS_BAR
property id to specify if the status bar should be displayed

See Also:
Constant Field Values

SHOW_OR_BUTTON

public static final int SHOW_OR_BUTTON
property id to specify if the OR button should be displayed

See Also:
Constant Field Values

SHOW_REMOVE_BUTTON

public static final int SHOW_REMOVE_BUTTON
property id to specify if the REMOVE button should be displayed

See Also:
Constant Field Values

SHOW_REMOVE_ALL_BUTTON

public static final int SHOW_REMOVE_ALL_BUTTON
property id to specify if the remove all button should be displayed

See Also:
Constant Field Values

ENABLED

public static final int ENABLED
property id to specify if the FindPanel should be enable/disabled

See Also:
Constant Field Values

PARENT_CONTAINER

public static final int PARENT_CONTAINER
property id to specify the 'Parent container' which holds the FindPanel object. The Find Panel could be added to a JDialog. The 'parent container' in this case will be the JDialog object.

See Also:
Constant Field Values
Method Detail

setParent

public void setParent(FindPanel parent)
set the parent which will use the customized UI panel. Implementors of this interface will make use of the 'parent' argument to retrive values to display and to execute query

Parameters:
parent -

itemChanged

public void itemChanged()
A notification from the parent that one or more data item names changed. Implementation should rebuild the UI


itemValueChanged

public void itemValueChanged(int column)
A notification from the paraent that the column value changed. Implementation should refresh the values for this column like the column display label

Parameters:
column - whose value (some attribute) has changed

buildPanel

public java.awt.Component buildPanel()
return a Panel reflectiong the panel to be displayed.

Returns:
Panel

setProperty

public void setProperty(int property,
                        java.lang.Object value)
specify a property value to customize the UI

Parameters:
property - id for the property. one of the constants defined above
value - for the property

getProperty

public java.lang.Object getProperty(int property)
get property value

Parameters:
property - id for the property. one of the constants defined above
Returns:
property value

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.