MetalComboBoxButton
public
MetalComboBoxButton
(JComboBox cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList list)
protected void
actionPropertyChanged
(Action action, String propertyName)
[Inherited From AbstractButton]
protected void
addImpl
(Component comp, Object constraints, int index)
[Inherited From AbstractButton]
Adds the specified component to this container at the specified
index, refer to
Container.addImpl(Component, Object, int)
for a complete description of this method.
public void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener)
[Inherited From Container]
publicsynchronized void
addVetoableChangeListener
(VetoableChangeListener listener)
[Inherited From JComponent]
public int
checkImage
(Image image, int width, int height, ImageObserver observer)
[Inherited From Component]
protected PropertyChangeListener
createActionPropertyChangeListener
(Action a)
[Inherited From AbstractButton]
public VolatileImage
createVolatileImage
(int width, int height, ImageCapabilities caps)
throws
AWTException
[Inherited From Component]
public void
firePropertyChange
(String propertyName, boolean oldValue, boolean newValue)
[Inherited From JComponent]
public void
firePropertyChange
(String propertyName, char oldValue, char newValue)
[Inherited From JComponent]
public void
firePropertyChange
(String propertyName, int oldValue, int newValue)
[Inherited From JComponent]
protected void
fireVetoableChange
(String propertyName, Object oldValue, Object newValue)
throws
PropertyVetoException
[Inherited From JComponent]
publicsynchronized DropTarget
getDropTarget
()
[Inherited From Component]
DropTarget associated with this
Component.
publicsynchronized HierarchyBoundsListener
getHierarchyBoundsListeners
()
[Inherited From Component]
public Point
getMousePosition
(boolean allowChildren)
throws
HeadlessException
[Inherited From Container]
publicsynchronized PropertyChangeListener
getPropertyChangeListeners
(String propertyName)
[Inherited From Component]
public boolean
imageUpdate
(Image img, int infoflags, int x, int y, int w, int h)
[Inherited From AbstractButton]
public boolean
prepareImage
(Image image, int width, int height, ImageObserver observer)
[Inherited From Component]
protected boolean
processKeyBinding
(KeyStroke ks, KeyEvent e, int condition, boolean pressed)
[Inherited From JComponent]
protected void
processKeyEvent
(KeyEvent e)
[Inherited From JComponent]
processKeyEvent to process events.
protected void
processMouseEvent
(MouseEvent e)
[Inherited From JComponent]
Processes mouse events occurring on this component by
dispatching them to any registered
MouseListener objects, refer to
Component.processMouseEvent(MouseEvent)
for a complete description of this method.
public void
registerKeyboardAction
(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)
[Inherited From JComponent]
getActionMap() and getInputMap() for
similiar behavior.
public void
registerKeyboardAction
(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)
[Inherited From JComponent]
publicsynchronized void
removeInputMethodListener
(InputMethodListener l)
[Inherited From Component]
publicsynchronized void
removeMouseMotionListener
(MouseMotionListener l)
[Inherited From Component]
public void
removeNotify
()
[Inherited From JButton]
JComponent.removeNotify to check if
this button is currently set as the default button on the
RootPane, and if so, sets the RootPane's
default button to null to ensure the
RootPane doesn't hold onto an invalid button reference.
publicsynchronized void
removePropertyChangeListener
(PropertyChangeListener listener)
[Inherited From Component]
publicsynchronized void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener)
[Inherited From Component]
publicsynchronized void
removeVetoableChangeListener
(VetoableChangeListener listener)
[Inherited From JComponent]
public void
setDisplayedMnemonicIndex
(int index)
throws
IllegalArgumentException
[Inherited From AbstractButton]
public void
setFocusTraversalKeys
(int id, Set<AWTKeyStroke> keystrokes)
[Inherited From JComponent]
public void
setFocusTraversalKeysEnabled
(boolean focusTraversalKeysEnabled)
[Inherited From Component]
public void
setLayout
(LayoutManager mgr)
[Inherited From AbstractButton]
Sets the layout manager for this container, refer to
Container.setLayout(LayoutManager)
for a complete description of this method.
public void
public void
setVerifyInputWhenFocusTarget
(boolean verifyInputWhenFocusTarget)
[Inherited From JComponent]
protected
AccessibleContext accessibleContext
[Inherited From JComponent]
AccessibleContext associated with this
JComponent.
protected
ActionListener actionListener
[Inherited From AbstractButton]
ActionListener.
publicfinalstatic
String BORDER_PAINTED_CHANGED_PROPERTY
= "borderPainted"
[Inherited From AbstractButton]
protected
ChangeListener changeListener
[Inherited From AbstractButton]
changeListener.
publicfinalstatic
String CONTENT_AREA_FILLED_CHANGED_PROPERTY
= "contentAreaFilled"
[Inherited From AbstractButton]
publicfinalstatic
String DISABLED_ICON_CHANGED_PROPERTY
= "disabledIcon"
[Inherited From AbstractButton]
publicfinalstatic
String DISABLED_SELECTED_ICON_CHANGED_PROPERTY
= "disabledSelectedIcon"
[Inherited From AbstractButton]
publicfinalstatic
String FOCUS_PAINTED_CHANGED_PROPERTY
= "focusPainted"
[Inherited From AbstractButton]
publicfinalstatic
String HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY
= "horizontalAlignment"
[Inherited From AbstractButton]
publicfinalstatic
String HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY
= "horizontalTextPosition"
[Inherited From AbstractButton]
publicfinalstatic
String ICON_CHANGED_PROPERTY
= "icon"
[Inherited From AbstractButton]
protected
ItemListener itemListener
[Inherited From AbstractButton]
ItemListener.
protected
EventListenerList listenerList
[Inherited From JComponent]
publicfinalstatic
String MARGIN_CHANGED_PROPERTY
= "margin"
[Inherited From AbstractButton]
publicfinalstatic
String MNEMONIC_CHANGED_PROPERTY
= "mnemonic"
[Inherited From AbstractButton]
protected
ButtonModel model
[Inherited From AbstractButton]
publicfinalstatic
String MODEL_CHANGED_PROPERTY
= "model"
[Inherited From AbstractButton]
publicfinalstatic
String PRESSED_ICON_CHANGED_PROPERTY
= "pressedIcon"
[Inherited From AbstractButton]
publicfinalstatic
String ROLLOVER_ENABLED_CHANGED_PROPERTY
= "rolloverEnabled"
[Inherited From AbstractButton]
publicfinalstatic
String ROLLOVER_ICON_CHANGED_PROPERTY
= "rolloverIcon"
[Inherited From AbstractButton]
publicfinalstatic
String ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY
= "rolloverSelectedIcon"
[Inherited From AbstractButton]
publicfinalstatic
String SELECTED_ICON_CHANGED_PROPERTY
= "selectedIcon"
[Inherited From AbstractButton]
publicfinalstatic
String TEXT_CHANGED_PROPERTY
= "text"
[Inherited From AbstractButton]
publicfinalstatic
String TOOL_TIP_TEXT_KEY
= "ToolTipText"
[Inherited From JComponent]
protectedtransient
ComponentUI ui
[Inherited From JComponent]
publicfinalstatic
int UNDEFINED_CONDITION
= "-1"
[Inherited From JComponent]
publicfinalstatic
String VERTICAL_ALIGNMENT_CHANGED_PROPERTY
= "verticalAlignment"
[Inherited From AbstractButton]
publicfinalstatic
String VERTICAL_TEXT_POSITION_CHANGED_PROPERTY
= "verticalTextPosition"
[Inherited From AbstractButton]
publicfinalstatic
int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT
= "1"
[Inherited From JComponent]
registerKeyboardAction that
means that the command should be invoked when the receiving
component is an ancestor of the focused component or is
itself the focused component.
publicfinalstatic
int WHEN_FOCUSED
= "0"
[Inherited From JComponent]
registerKeyboardAction that
means that the command should be invoked when
the component has the focus.
publicfinalstatic
int WHEN_IN_FOCUSED_WINDOW
= "2"
[Inherited From JComponent]
registerKeyboardAction that
means that the command should be invoked when
the receiving component is in the window that has the focus
or is itself the focused component.
AbstractButton class.