Package-level declarations
Functions
Sets background; on a non-opaque component also declare opaque(true) for it to paint.
Sets border; null removes the border. Requires a JComponent target.
Sets whether a component paints its border. Applies to everything built on a button, including menu items, and to progress bars, tool bars, menu bars and popup menus.
Sets the color of the caret in a text component - fields, areas, editor and text panes.
Sets a putClientProperty entry - the way to reach look-and-feel styling keys and accessibility hints. Each distinct key is an independent modifier slot; null removes the entry, and removing the declaration puts back the value the component carried before. Requires a JComponent target.
Sets whether a button fills the area behind its content. Applies to everything built on a button.
Sets cursor; null restores the inherited cursor.
Sets the icon a button displays while it is disabled; null hands the state back to the look and feel, which grays the base icon for it. Applies to every kind of button.
Sets the icon a button displays while it is both disabled and selected; null hands the state back to the look and feel, which grays selectedIcon for it, or falls back to the disabled icon where the button carries no selected icon. Applies to every kind of button.
Sets the color text is drawn in while the component is disabled.
Sets an invisible border occupying insets. See emptyBorder (the four-side form).
Sets an invisible border all pixels wide on every side. See emptyBorder (the four-side form).
Sets whether a button paints the indicator showing it holds keyboard focus. Applies to everything built on a button.
Sets font; null takes the font from the parent container.
Sets foreground; null takes the color from the parent container.
Sets where a component's content sits along its width, when it is given more width than it needs.
Sets which side of the icon the text is drawn on. Applies to labels and to everything built on a button; a component with no icon lays out the same either way.
Sets the icon a component displays beside its text; null displays none.
Sets the space between a component's icon and its text. Applies to labels and to everything built on a button.
Sets the space a component keeps between its border and its content. Applies to everything built on a button, and to text components.
Sets name - the key components are looked up by in tests and automation; null clears it.
Sets isOpaque - required for background to actually paint. Requires a JComponent target.
Sets the icon a button displays while it is held down; null falls back to the base icon. Applies to every kind of button.
Sets whether a button paints its rollover state - the look it takes while the pointer is over it. Applies to everything built on a button.
Sets the icon a button displays while the pointer is over it; null falls back to the base icon. Declaring it switches rolloverEnabled on. Applies to every kind of button.
Sets the icon a button displays while the pointer is over it and it is selected; null falls back to selectedIcon. Declaring it switches rolloverEnabled on. Applies to every kind of button.
Sets the icon a button displays while it is selected - a checked check box, an on toggle button; null falls back to the base icon. Applies to every kind of button.
Sets the color selected text is drawn in.
Sets the background painted behind selected text in a text component.
Tags the component with tag so it can be located in tests independently of its name.
The tag testTag set on this component, or null where it carries none: a component the modifier was never applied to, and one that is no JComponent and so holds no client properties at all.
Sets the tooltip per pointer location: text is asked for the tooltip belonging to the place the pointer is over, and answers null where the component has none there. Requires a JComponent target.
Sets toolTipText - the tooltip the component shows wherever the pointer rests on it; null clears it. Requires a JComponent target.
Sets where a component's content sits along its height, when it is given more height than it needs.
Sets whether the text is drawn above, across or below the icon. Applies to labels and to everything built on a button; a component with no icon lays out the same either way.