ComboBoxModel
DefaultComboBoxModel
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]
pack-private void
clientPropertyChanged
(Object key, Object oldValue, Object newValue)
[Inherited From JComponent]
pack-privatefinalstatic void
computeVisibleRect
(Component c, Rectangle visibleRect)
[Inherited From JComponent]
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]
pack-privatestatic Set<KeyStroke>
getManagingFocusBackwardTraversalKeys
()
[Inherited From JComponent]
KeyStrokes to use if the component
is managing focus for backward focus traversal.
pack-privatestatic Set<KeyStroke>
getManagingFocusForwardTraversalKeys
()
[Inherited From JComponent]
KeyStrokes to use if the component
is managing focus for forward focus traversal.
public Point
getMousePosition
(boolean allowChildren)
throws
HeadlessException
[Inherited From Container]
publicsynchronized PropertyChangeListener
getPropertyChangeListeners
(String propertyName)
[Inherited From Component]
pack-private boolean
isPainting
()
[Inherited From JComponent]
pack-private void
paintToOffscreen
(Graphics g, int x, int y, int w, int h, int maxX, int maxY)
[Inherited From JComponent]
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]
pack-privatestatic boolean
processKeyBindingsForAllComponents
(KeyEvent e, Container container, boolean pressed)
[Inherited From JComponent]
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.
pack-private boolean
rectangleIsObscured
(int x, int y, int width, int height)
[Inherited From JComponent]
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]
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]
pack-privatestatic Graphics
safelyGetGraphics
(Component c, Component root)
[Inherited From JComponent]
pack-private Object
setDropLocation
(DropLocation location, Object state, boolean forDrop)
[Inherited From JComponent]
public void
setFocusTraversalKeys
(int id, Set<AWTKeyStroke> keystrokes)
[Inherited From JComponent]
public void
setFocusTraversalKeysEnabled
(boolean focusTraversalKeysEnabled)
[Inherited From Component]
public void
public void
setVerifyInputWhenFocusTarget
(boolean verifyInputWhenFocusTarget)
[Inherited From JComponent]
pack-privatestatic void
setWriteObjCounter
(JComponent comp, byte count)
[Inherited From JComponent]
pack-private int
shouldDebugGraphics
()
[Inherited From JComponent]
JComponent or one of its parents.
protected
AccessibleContext accessibleContext
[Inherited From JComponent]
AccessibleContext associated with this
JComponent.
pack-privatestatic
boolean DEBUG_GRAPHICS_LOADED
[Inherited From JComponent]
protected
EventListenerList listenerList
[Inherited From JComponent]
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
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.
ActionStandin is used as a standin for
ActionListeners that are
added via registerKeyboardAction.