Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

org::netbeans::lib::profiler::ui::components::FilterComponent Class Reference

Inherits javax::swing::JPanel.

List of all members.


Detailed Description

Author:
Jiri Sedlacek

Definition at line 63 of file FilterComponent.java.


Public Member Functions

JMenuItem addFilterItem (ImageIcon icon, String filterName, int filterType)
void addFilterListener (FilterListener listener)
JSeparator addSeparatorItem ()
 FilterComponent ()
int getDefaultFilterType ()
String getFilterString ()
String[] getFilterStrings ()
int getFilterType ()
void removeFilterListener (FilterListener listener)
void setDefaultFilterType (int type)
void setEmptyFilterText (String text)
void setFilterString (String string)
void setFilterType (int type)
void setFilterValues (String string, int type)

Static Public Member Functions

static String[] getFilterStrings (String string)

Private Member Functions

void addComboBoxItem (String string)
void checkRegExp ()
void doFocusGained ()
void doFocusLost ()
void fireFilterChanged ()
JMenuItem getFilterMenuItemByIndex (int index)
int getIndexByCurrentFilterType ()
int getIndexByFilterType (int type)
void initComponents ()
void performClearFilterButtonAction ()
void performSetFilterButtonAction ()
void setFilterString (String string, boolean fireChange)
void setFilterType (int type, boolean fireChange)
void setFilterTypePopupItemActive (int index, boolean fireChange)
void setFilterTypePopupItemActive (JMenuItem menuItem, boolean fireChange)
void updateComboItems ()
void updateSetClearButtons ()
void updateSetClearFilterButtonsPanelBorder ()

Private Attributes

JMenuItem activeFilterItem
JButton clearFilterButton
final ImageIcon clearFilterIcon
final Icon clearFilterRolloverIcon = new ButtonBorderIcon(clearFilterIcon)
int defaultFilterType = CommonConstants.FILTER_CONTAINS
Vector filterNames
String filterString = EMPTY_STRING
JFilterStringCombo filterStringCombo
Vector filterStringsBuffer
int filterType = CommonConstants.FILTER_NONE
JButton filterTypeButton
JPopupMenu filterTypePopup
Vector filterTypes
JLabel incorrectRegExpLabel
boolean internalChange = false
int lastFilterType
Vector listeners
int nOwnComboItems = 0
PopupItemsListener popupItemsListener
Vector rolloverIcons
JPanel setClearFilterButtonsPanel
JButton setFilterButton
final ImageIcon setFilterIcon
final Icon setFilterRolloverIcon = new ButtonBorderIcon(setFilterIcon)
Vector standardIcons
boolean textFieldEmptyFlag = true
String textFieldEmptyText = DEFAULT_TEXTFIELD_STRING
Color textFieldForeground
JPanel textFieldRegExpWarningPanel
boolean validRegExpFlag = true

Static Private Attributes

static final String ACCESS_DESCR = messages.getString("FilterComponent_AccessDescr")
static final String ACCESS_NAME = messages.getString("FilterComponent_AccessName")
static final String CLEAR_FILTER_BUTTON_TOOLTIP = messages.getString("FilterComponent_ClearFilterButtonToolTip")
static final Color DEFAULT_TEXTFIELD_FOREGROUND = Color.GRAY
static final String DEFAULT_TEXTFIELD_STRING = messages.getString("FilterComponent_DefaultTextFieldString")
static final String EMPTY_STRING = ""
static final String FILTER_STRING_COMBO_ACCESS_DESCR = messages.getString("FilterComponent_FilterStringComboAccessDescr")
static final String FILTER_STRING_COMBO_ACCESS_NAME = messages.getString("FilterComponent_FilterStringComboAccessName")
static final String FILTER_TYPE_TOOLTIP = messages.getString("FilterComponent_FilterTypeToolTip")
static final String FILTER_VALUE_TOOLTIP = messages.getString("FilterComponent_FilterValueToolTip")
static final String INVALID_REGEXP_STRING = messages.getString("FilterComponent_InvalidRegExpString")
static final ResourceBundle messages = ResourceBundle.getBundle("org.netbeans.lib.profiler.ui.components.Bundle")
static final String SET_FILTER_BUTTON_TOOLTIP = messages.getString("FilterComponent_SetFilterButtonToolTip")

Classes

class  ArrowSignIcon
class  ButtonBorderIcon
interface  FilterListener
class  FilterStringComboActionListener
class  FilterStringComboPopupMenuListener
class  FilterStringComboRenderer
class  FilterTextFieldDocumentListener
class  FilterTextFieldFocusListener
class  FilterTextFieldKeyListener
class  FilterTypeButtonMouseListener
class  JFilterStringCombo
class  PopupItemsListener
class  SetClearButtonsActionListener

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index