A C F G H I J P R S T U W

A

addAncestorListener(AncestorListener) - Method in class javax.swing.JComponent
Registers listener so that it will receive AncestorEvents when it or any of its ancestors move or are made visible / invisible.
addFocusListener(FocusListener) - Method in class javax.swing.JComponent.AccessibleJComponent
Adds the specified focus listener to receive focus events from this component.
addNotify() - Method in class javax.swing.JComponent
Notification to this component that it now has a parent component.
addPropertyChangeListener(PropertyChangeListener) - Method in class javax.swing.JComponent
Add a PropertyChangeListener to the listener list.
addPropertyChangeListener(PropertyChangeListener) - Method in class javax.swing.JComponent.AccessibleJComponent
Add a PropertyChangeListener to the listener list.
addVetoableChangeListener(VetoableChangeListener) - Method in class javax.swing.JComponent
Add a VetoableChangeListener to the listener list.

C

computeVisibleRect(Rectangle) - Method in class javax.swing.JComponent
Returns the Component's "visible rect rectangle" - the intersection of the visible rectangles for this component and all of its ancestors.
contains(int, int) - Method in class javax.swing.JComponent
Give the UI delegate an opportunity to define the precise shape of this component for the sake of mouse processing.
contains(Point) - Method in class javax.swing.JComponent.AccessibleJComponent
Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
createToolTip() - Method in class javax.swing.JComponent
Returns the instance of JToolTip that should be used to display the tooltip.

F

firePropertyChange(String, boolean, boolean) - Method in class javax.swing.JComponent
Reports a bound property change.
firePropertyChange(String, byte, byte) - Method in class javax.swing.JComponent
Reports a bound property change.
firePropertyChange(String, char, char) - Method in class javax.swing.JComponent
Reports a bound property change.
firePropertyChange(String, double, double) - Method in class javax.swing.JComponent
Reports a bound property change.
firePropertyChange(String, float, float) - Method in class javax.swing.JComponent
Reports a bound property change.
firePropertyChange(String, int, int) - Method in class javax.swing.JComponent
Reports a bound property change.
firePropertyChange(String, long, long) - Method in class javax.swing.JComponent
Reports a bound property change.
firePropertyChange(String, short, short) - Method in class javax.swing.JComponent
Reports a bound property change.

G

getAccessibleAt(Point) - Method in class javax.swing.JComponent.AccessibleJComponent
Returns the Accessible child, if one exists, contained at the local coordinate Point.
getAccessibleChild(int) - Method in class javax.swing.JComponent.AccessibleJComponent
Return the nth Accessible child of the object.
getAccessibleChildrenCount() - Method in class javax.swing.JComponent.AccessibleJComponent
Returns the number of accessible children in the object.
getAccessibleComponent() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the AccessibleComponent associated with this object if one exists.
getAccessibleContext() - Method in class javax.swing.JComponent
Get the AccessibleContext associated with this JComponent
getAccessibleDescription() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the accessible description of this object.
getAccessibleIndexInParent() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the index of this object in its accessible parent.
getAccessibleName() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the accessible name of this object.
getAccessibleParent() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the Accessible parent of this object.
getAccessibleRole() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the role of this object.
getAccessibleStateSet() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the state of this object.
getActionForKeyStroke(KeyStroke) - Method in class javax.swing.JComponent
Return the object that will perform the action registered for a given keystroke.
getAlignmentX() - Method in class javax.swing.JComponent
Overrides Container.getAlignmentX to return the vertical alignment.
getAlignmentY() - Method in class javax.swing.JComponent
Overrides Container.getAlignmentY to return the horizontal alignment.
getAutoscrolls() - Method in class javax.swing.JComponent
Returns true if this component automatically scrolls its contents when dragged, (when contained in a component that supports scrolling, like JViewport
getBackground() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the background color of this object.
getBorder() - Method in class javax.swing.JComponent
Returns the border of this component or null if no border is currently set.
getBounds() - Method in class javax.swing.JComponent.AccessibleJComponent
Gets the bounds of this object in the form of a Rectangle object.
getBounds(Rectangle) - Method in class javax.swing.JComponent
Store the bounds of this component into "return value" rv and return rv.
getClientProperty(Object) - Method in class javax.swing.JComponent
Returns the value of the property with the specified key.
getConditionForKeyStroke(KeyStroke) - Method in class javax.swing.JComponent
Return the condition that determines whether a registered action occurs in response to the specified keystroke.
getCursor() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the Cursor of this object.
getDebugGraphicsOptions() - Method in class javax.swing.JComponent
Returns the state of graphics debugging.
getFont() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the Font of this object.
getFontMetrics(Font) - Method in class javax.swing.JComponent.AccessibleJComponent
Get the FontMetrics of this object.
getForeground() - Method in class javax.swing.JComponent.AccessibleJComponent
Get the foreground color of this object.
getGraphics() - Method in class javax.swing.JComponent
Returns this component's graphics context, which lets you draw on a component.
getHeight() - Method in class javax.swing.JComponent
Return the current height of this component.
getInsets() - Method in class javax.swing.JComponent
If a border has been set on this component, returns the border's insets, else calls super.getInsets.
getInsets(Insets) - Method in class javax.swing.JComponent
Returns an Insets object containing this component's inset values.
getLocale() - Method in class javax.swing.JComponent.AccessibleJComponent
Return the locale of this object.
getLocation() - Method in class javax.swing.JComponent.AccessibleJComponent
Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
getLocation(Point) - Method in class javax.swing.JComponent
Store the x,y origin of this component into "return value" rv and return rv.
getLocationOnScreen() - Method in class javax.swing.JComponent.AccessibleJComponent
Returns the location of the object on the screen.
getMaximumSize() - Method in class javax.swing.JComponent
If the maximumSize has been set to a non-null value just return it.
getMinimumSize() - Method in class javax.swing.JComponent
If the minimumSize has been set to a non-null value just return it.
getNextFocusableComponent() - Method in class javax.swing.JComponent
Return the next focusable component or null if the focus manager should choose the next focusable component automatically
getPreferredSize() - Method in class javax.swing.JComponent
If the preferredSize has been set to a non-null value just return it.
getRegisteredKeyStrokes() - Method in class javax.swing.JComponent
Return the KeyStrokes that will initiate registered actions.
getRootPane() - Method in class javax.swing.JComponent
Returns the JRootPane ancestor for a component
getSize() - Method in class javax.swing.JComponent.AccessibleJComponent
Returns the size of this object in the form of a Dimension object.
getSize(Dimension) - Method in class javax.swing.JComponent
Store the width/height of this component into "return value" rv and return rv.
getToolTipLocation(MouseEvent) - Method in class javax.swing.JComponent
Return the tooltip location in the receiving component coordinate system If null is returned, Swing will choose a location.
getToolTipText() - Method in class javax.swing.JComponent
Return the tooltip string that has been set with setToolTipText()
getToolTipText(MouseEvent) - Method in class javax.swing.JComponent
Returns the string to be used as the tooltip for event.
getTopLevelAncestor() - Method in class javax.swing.JComponent
Returns the top-level ancestor of this component (either the containing Window or Applet), or null if this component has not been added to any container.
getUIClassID() - Method in class javax.swing.JComponent
Return the UIDefaults key used to look up the name of the swing.plaf.ComponentUI class that defines the look and feel for this component.
getVisibleRect() - Method in class javax.swing.JComponent
Returns the Component's "visible rectangle" - the intersection of this components visible rectangle: new Rectangle(0, 0, getWidth(), getHeight()); and all of its ancestors visible Rectangles.
getWidth() - Method in class javax.swing.JComponent
Return the current width of this component.
getX() - Method in class javax.swing.JComponent
Return the current x coordinate of the components origin.
getY() - Method in class javax.swing.JComponent
Return the current y coordinate of the components origin.
grabFocus() - Method in class javax.swing.JComponent
Set the focus on the receiving component.

H

hasFocus() - Method in class javax.swing.JComponent
Returns true if this Component has the keyboard focus.

I

isDoubleBuffered() - Method in class javax.swing.JComponent
Return whether the receiving component should use a buffer to paint.
isEnabled() - Method in class javax.swing.JComponent.AccessibleJComponent
Determine if the object is enabled.
isFocusCycleRoot() - Method in class javax.swing.JComponent
Override this method and return true if your component is the root of of a component tree with its own focus cycle.
isFocusTraversable() - Method in class javax.swing.JComponent
Identifies whether or not this component can receive the focus.
isFocusTraversable() - Method in class javax.swing.JComponent.AccessibleJComponent
Returns whether this object can accept focus or not.
isLightweightComponent(Component) - Static method in class javax.swing.JComponent
Returns true if this component is a lightweight, i.e.
isManagingFocus() - Method in class javax.swing.JComponent
Override this method and return true if your JComponent manages focus.
isOpaque() - Method in class javax.swing.JComponent
Returns true if this component is completely opaque.
isOptimizedDrawingEnabled() - Method in class javax.swing.JComponent
Returns true if this component tiles its children, i.e.
isPaintingTile() - Method in class javax.swing.JComponent
Returns true if the receiving component is currently painting a tile.
isRequestFocusEnabled() - Method in class javax.swing.JComponent
Return whether the receiving component can obtain the focus by calling requestFocus
isShowing() - Method in class javax.swing.JComponent.AccessibleJComponent
Determine if the object is showing.
isValidateRoot() - Method in class javax.swing.JComponent
If this method returns true, revalidate() calls by descendants of this component will cause the entire tree beginning with this root to be validated.
isVisible() - Method in class javax.swing.JComponent.AccessibleJComponent
Determine if the object is visible.

J

JComponent - class javax.swing.JComponent.
The base class for the Swing components.
JComponent.AccessibleJComponent - class javax.swing.JComponent.AccessibleJComponent.
Inner class of JComponent used to provide default support for accessibility.
JComponent() - Constructor for class javax.swing.JComponent
Default JComponent constructor.

P

paint(Graphics) - Method in class javax.swing.JComponent
This method is invoked by Swing to draw components.
paintImmediately(int, int, int, int) - Method in class javax.swing.JComponent
Paint the specified region in this component and all of its descendants that overlap the region, immediately.
paintImmediately(Rectangle) - Method in class javax.swing.JComponent
Paint the specified region now.
putClientProperty(Object, Object) - Method in class javax.swing.JComponent
Add an arbitrary key/value "client property" to this component.

R

registerKeyboardAction(ActionListener, KeyStroke, int) - Method in class javax.swing.JComponent
Calls registerKeyboardAction(ActionListener,String,KeyStroke,condition) with a null command.
registerKeyboardAction(ActionListener, String, KeyStroke, int) - Method in class javax.swing.JComponent
Register a new keyboard action.
removeAncestorListener(AncestorListener) - Method in class javax.swing.JComponent
Unregisters listener so that it will no longer receive AncestorEvents This method will migrate to java.awt.Component in the next major JDK release
removeFocusListener(FocusListener) - Method in class javax.swing.JComponent.AccessibleJComponent
Removes the specified focus listener so it no longer receives focus events from this component.
removeNotify() - Method in class javax.swing.JComponent
Notification to this component that it no longer has a parent component.
removePropertyChangeListener(PropertyChangeListener) - Method in class javax.swing.JComponent
Remove a PropertyChangeListener from the listener list.
removePropertyChangeListener(PropertyChangeListener) - Method in class javax.swing.JComponent.AccessibleJComponent
Remove a PropertyChangeListener from the listener list.
removeVetoableChangeListener(VetoableChangeListener) - Method in class javax.swing.JComponent
Remove a VetoableChangeListener from the listener list.
repaint(long, int, int, int, int) - Method in class javax.swing.JComponent
Adds the specified region to the dirty region list if the component is showing.
repaint(Rectangle) - Method in class javax.swing.JComponent
Adds the specified region to the dirty region list if the component is showing.
requestDefaultFocus() - Method in class javax.swing.JComponent
Request the focus for the component that should have the focus by default.
requestFocus() - Method in class javax.swing.JComponent
Set focus on the receiving component if isRequestFocusEnabled returns true
requestFocus() - Method in class javax.swing.JComponent.AccessibleJComponent
Requests focus for this object.
resetKeyboardActions() - Method in class javax.swing.JComponent
Unregister all keyboard actions
reshape(int, int, int, int) - Method in class javax.swing.JComponent
Moves and resizes this component.
revalidate() - Method in class javax.swing.JComponent
Support for deferred automatic layout.

S

scrollRectToVisible(Rectangle) - Method in class javax.swing.JComponent
Forwards the scrollRectToVisible() message to the JComponent's parent.
setAlignmentX(float) - Method in class javax.swing.JComponent
Set the the vertical alignment.
setAlignmentY(float) - Method in class javax.swing.JComponent
Set the the horizontal alignment.
setAutoscrolls(boolean) - Method in class javax.swing.JComponent
If true this component will automatically scroll its contents when dragged, if contained in a component that supports scrolling, such as JViewport
setBackground(Color) - Method in class javax.swing.JComponent
Sets the background color of this component.
setBackground(Color) - Method in class javax.swing.JComponent.AccessibleJComponent
Set the background color of this object.
setBorder(Border) - Method in class javax.swing.JComponent
Sets the border of this component.
setBounds(Rectangle) - Method in class javax.swing.JComponent.AccessibleJComponent
Sets the bounds of this object in the form of a Rectangle object.
setCursor(Cursor) - Method in class javax.swing.JComponent.AccessibleJComponent
Set the Cursor of this object.
setDebugGraphicsOptions(int) - Method in class javax.swing.JComponent
Enables or disables diagnostic information about every graphics operation performed within the component or one of its children.
setDoubleBuffered(boolean) - Method in class javax.swing.JComponent
Set whether the receiving component should use a buffer to paint.
setEnabled(boolean) - Method in class javax.swing.JComponent
Sets whether or not this component is enabled.
setEnabled(boolean) - Method in class javax.swing.JComponent.AccessibleJComponent
Set the enabled state of the object.
setFont(Font) - Method in class javax.swing.JComponent
Sets the font for this component.
setFont(Font) - Method in class javax.swing.JComponent.AccessibleJComponent
Set the Font of this object.
setForeground(Color) - Method in class javax.swing.JComponent
Sets the foreground color of this component.
setForeground(Color) - Method in class javax.swing.JComponent.AccessibleJComponent
Set the foreground color of this object.
setLocation(Point) - Method in class javax.swing.JComponent.AccessibleJComponent
Sets the location of the object relative to the parent.
setMaximumSize(Dimension) - Method in class javax.swing.JComponent
Sets the maximumSize of this component to a constant value.
setMinimumSize(Dimension) - Method in class javax.swing.JComponent
Sets the minimumSize of this component to a constant value.
setNextFocusableComponent(Component) - Method in class javax.swing.JComponent
Specifies the next component to get the focus after this one, for example, when the tab key is pressed.
setOpaque(boolean) - Method in class javax.swing.JComponent
If true the components background will be filled with the background color.
setPreferredSize(Dimension) - Method in class javax.swing.JComponent
Set the preferred size of the receiving component.
setRequestFocusEnabled(boolean) - Method in class javax.swing.JComponent
Set whether the receiving component can obtain the focus by calling requestFocus.
setSize(Dimension) - Method in class javax.swing.JComponent.AccessibleJComponent
Resizes this object so that it has width width and height.
setToolTipText(String) - Method in class javax.swing.JComponent
Registers the text to display in a tool tip.
setVisible(boolean) - Method in class javax.swing.JComponent
Makes the component visible or invisible.
setVisible(boolean) - Method in class javax.swing.JComponent.AccessibleJComponent
Set the visible state of the object.

T

TOOL_TIP_TEXT_KEY - Static variable in class javax.swing.JComponent
The comment to display when the cursor is over the component, also known as a "value tip", "flyover help", or "flyover label".

U

UNDEFINED_CONDITION - Static variable in class javax.swing.JComponent
Constant used by some of the apis to mean that no condition is defined.
unregisterKeyboardAction(KeyStroke) - Method in class javax.swing.JComponent
Unregister a keyboard action.
update(Graphics) - Method in class javax.swing.JComponent
Calls paint(g).
updateUI() - Method in class javax.swing.JComponent
Resets the UI property to a value from the current look and feel.

W

WHEN_ANCESTOR_OF_FOCUSED_COMPONENT - Static variable in class javax.swing.JComponent
Constant used for registerKeyboardAction() which means that the comand should be invoked when the receiving component is an ancestor of the focused component or is itself the focused component.
WHEN_FOCUSED - Static variable in class javax.swing.JComponent
Constant used for registerKeyboardAction() which means that the command should be invoked when the component has the focus.
WHEN_IN_FOCUSED_WINDOW - Static variable in class javax.swing.JComponent
Constant used for registerKeyboardAction() which 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.

A C F G H I J P R S T U W