Package | Description |
---|---|
javax.swing.plaf.nimbus |
Provides user interface objects built according to the cross-platform
Nimbus look and feel.
|
javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is
delegated.
|
Modifier and Type | Method and Description |
---|---|
Object |
NimbusStyle.get(SynthContext ctx,
Object key)
Getter for a region specific style property.
|
Painter |
NimbusStyle.getBackgroundPainter(SynthContext ctx)
Gets the appropriate background Painter, if there is one, for the state
specified in the given SynthContext.
|
Painter |
NimbusStyle.getBorderPainter(SynthContext ctx)
Gets the appropriate border Painter, if there is one, for the state
specified in the given SynthContext.
|
protected Color |
NimbusStyle.getColorForState(SynthContext ctx,
ColorType type)
Returns the color for the specified state.
|
protected Font |
NimbusStyle.getFontForState(SynthContext ctx)
Returns the font for the specified state.
|
Painter |
NimbusStyle.getForegroundPainter(SynthContext ctx)
Gets the appropriate foreground Painter, if there is one, for the state
specified in the given SynthContext.
|
Insets |
NimbusStyle.getInsets(SynthContext ctx,
Insets in)
Returns the Insets that are used to calculate sizing information.
|
SynthPainter |
NimbusStyle.getPainter(SynthContext ctx)
Returns the
SynthPainter that will be used for painting. |
void |
NimbusStyle.installDefaults(SynthContext ctx)
Installs the necessary state from this Style on the
JComponent from context . |
boolean |
NimbusStyle.isOpaque(SynthContext ctx)
Returns true if the region is opaque.
|
Modifier and Type | Method and Description |
---|---|
SynthContext |
SynthMenuUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthSeparatorUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthTabbedPaneUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthOptionPaneUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthComboBoxUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthSliderUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthToolBarUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthMenuBarUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthScrollBarUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthColorChooserUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthToolTipUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthListUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthViewportUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthProgressBarUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthTableHeaderUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthSplitPaneUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthEditorPaneUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthSpinnerUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthPanelUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthDesktopIconUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthTextFieldUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthTreeUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthRootPaneUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthScrollPaneUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthMenuItemUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthLabelUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthTableUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthButtonUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthDesktopPaneUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthTextAreaUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthInternalFrameUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthUI.getContext(JComponent c)
Returns the Context for the specified component.
|
SynthContext |
SynthPopupMenuUI.getContext(JComponent c)
Returns the Context for the specified component.
|
Modifier and Type | Method and Description |
---|---|
int |
SynthGraphicsUtils.computeStringWidth(SynthContext ss,
Font font,
FontMetrics metrics,
String text)
Returns the size of the passed in string.
|
void |
SynthGraphicsUtils.drawLine(SynthContext context,
Object paintKey,
Graphics g,
int x1,
int y1,
int x2,
int y2)
Draws a line between the two end points.
|
void |
SynthGraphicsUtils.drawLine(SynthContext context,
Object paintKey,
Graphics g,
int x1,
int y1,
int x2,
int y2,
Object styleKey)
Draws a line between the two end points.
|
Object |
SynthStyle.get(SynthContext context,
Object key)
Getter for a region specific style property.
|
boolean |
SynthStyle.getBoolean(SynthContext context,
Object key,
boolean defaultValue)
Convenience method to get a specific style property whose value is
an Boolean.
|
Color |
SynthStyle.getColor(SynthContext context,
ColorType type)
Returns the color for the specified state.
|
protected abstract Color |
SynthStyle.getColorForState(SynthContext context,
ColorType type)
Returns the color for the specified state.
|
Font |
SynthStyle.getFont(SynthContext context)
Returns the Font for the specified state.
|
protected abstract Font |
SynthStyle.getFontForState(SynthContext context)
Returns the font for the specified state.
|
SynthGraphicsUtils |
SynthStyle.getGraphicsUtils(SynthContext context)
Returns the
SynthGraphicUtils for the specified context. |
Icon |
SynthStyle.getIcon(SynthContext context,
Object key)
Convenience method to get a specific style property whose value is
an Icon.
|
Insets |
SynthStyle.getInsets(SynthContext context,
Insets insets)
Returns the Insets that are used to calculate sizing information.
|
int |
SynthStyle.getInt(SynthContext context,
Object key,
int defaultValue)
Convenience method to get a specific style property whose value is
a
Number . |
int |
SynthGraphicsUtils.getMaximumCharHeight(SynthContext context)
Returns the maximum height of the the Font from the passed in
SynthContext.
|
Dimension |
SynthGraphicsUtils.getMaximumSize(SynthContext ss,
Font font,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
int iconTextGap,
int mnemonicIndex)
Returns the maximum size needed to properly render an icon and text.
|
Dimension |
SynthGraphicsUtils.getMinimumSize(SynthContext ss,
Font font,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
int iconTextGap,
int mnemonicIndex)
Returns the minimum size needed to properly render an icon and text.
|
SynthPainter |
SynthStyle.getPainter(SynthContext context)
Returns the
SynthPainter that will be used for painting. |
Dimension |
SynthGraphicsUtils.getPreferredSize(SynthContext ss,
Font font,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
int iconTextGap,
int mnemonicIndex)
Returns the preferred size needed to properly render an icon and text.
|
String |
SynthStyle.getString(SynthContext context,
Object key,
String defaultValue)
Convenience method to get a specific style property whose value is
a String.
|
void |
SynthStyle.installDefaults(SynthContext context)
Installs the necessary state from this Style on the
JComponent from context . |
boolean |
SynthStyle.isOpaque(SynthContext context)
Returns true if the region is opaque.
|
String |
SynthGraphicsUtils.layoutText(SynthContext ss,
FontMetrics fm,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int iconTextGap)
Lays out text and an icon returning, by reference, the location to
place the icon and text.
|
protected void |
SynthMenuUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthSeparatorUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTabbedPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthOptionPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthComboBoxUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthSliderUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthToolBarUI.paint(SynthContext context,
Graphics g)
Paints the toolbar.
|
protected void |
SynthMenuBarUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthScrollBarUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthColorChooserUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthToolTipUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthViewportUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthProgressBarUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTableHeaderUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthSplitPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthEditorPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthSpinnerUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthPanelUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthDesktopIconUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTextFieldUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTreeUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthRootPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthScrollPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthMenuItemUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthLabelUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTableUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthButtonUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthDesktopPaneUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthTextAreaUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthInternalFrameUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
protected void |
SynthPopupMenuUI.paint(SynthContext context,
Graphics g)
Paints the specified component.
|
void |
SynthPainter.paintArrowButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of an arrow button.
|
void |
SynthPainter.paintArrowButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of an arrow button.
|
void |
SynthPainter.paintArrowButtonForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int direction)
Paints the foreground of an arrow button.
|
void |
SynthMenuUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthPasswordFieldUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthSeparatorUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthTabbedPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthOptionPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthCheckBoxMenuItemUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthComboBoxUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthSliderUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthTextPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthToolBarUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthMenuBarUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthScrollBarUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthColorChooserUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthToolTipUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthListUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthCheckBoxUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthViewportUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthProgressBarUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthTableHeaderUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthSplitPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthEditorPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthSpinnerUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthPanelUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthDesktopIconUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthTextFieldUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthFormattedTextFieldUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthTreeUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthRootPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthScrollPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthRadioButtonUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthMenuItemUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthRadioButtonMenuItemUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthLabelUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthTableUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthButtonUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthToggleButtonUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthDesktopPaneUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthTextAreaUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthInternalFrameUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthPopupMenuUI.paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
void |
SynthPainter.paintButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a button.
|
void |
SynthPainter.paintButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a button.
|
void |
SynthPainter.paintCheckBoxBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a check box.
|
void |
SynthPainter.paintCheckBoxBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a check box.
|
void |
SynthPainter.paintCheckBoxMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a check box menu item.
|
void |
SynthPainter.paintCheckBoxMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a check box menu item.
|
void |
SynthPainter.paintColorChooserBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a color chooser.
|
void |
SynthPainter.paintColorChooserBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a color chooser.
|
void |
SynthPainter.paintComboBoxBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a combo box.
|
void |
SynthPainter.paintComboBoxBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a combo box.
|
protected void |
SynthToolBarUI.paintContent(SynthContext context,
Graphics g,
Rectangle bounds)
Paints the toolbar content.
|
void |
SynthPainter.paintDesktopIconBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a desktop icon.
|
void |
SynthPainter.paintDesktopIconBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a desktop icon.
|
void |
SynthPainter.paintDesktopPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a desktop pane.
|
void |
SynthPainter.paintDesktopPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a desktop pane.
|
void |
SynthPainter.paintEditorPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of an editor pane.
|
void |
SynthPainter.paintEditorPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of an editor pane.
|
void |
SynthPainter.paintFileChooserBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a file chooser.
|
void |
SynthPainter.paintFileChooserBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a file chooser.
|
void |
SynthPainter.paintFormattedTextFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a formatted text field.
|
void |
SynthPainter.paintFormattedTextFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a formatted text field.
|
void |
SynthPainter.paintInternalFrameBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of an internal frame.
|
void |
SynthPainter.paintInternalFrameBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of an internal frame.
|
void |
SynthPainter.paintInternalFrameTitlePaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of an internal frame title pane.
|
void |
SynthPainter.paintInternalFrameTitlePaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of an internal frame title pane.
|
void |
SynthPainter.paintLabelBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a label.
|
void |
SynthPainter.paintLabelBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a label.
|
void |
SynthPainter.paintListBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a list.
|
void |
SynthPainter.paintListBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a list.
|
void |
SynthPainter.paintMenuBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a menu.
|
void |
SynthPainter.paintMenuBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a menu bar.
|
void |
SynthPainter.paintMenuBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a menu bar.
|
void |
SynthPainter.paintMenuBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a menu.
|
void |
SynthPainter.paintMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a menu item.
|
void |
SynthPainter.paintMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a menu item.
|
void |
SynthPainter.paintOptionPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of an option pane.
|
void |
SynthPainter.paintOptionPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of an option pane.
|
void |
SynthPainter.paintPanelBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a panel.
|
void |
SynthPainter.paintPanelBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a panel.
|
void |
SynthPainter.paintPasswordFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a password field.
|
void |
SynthPainter.paintPasswordFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a password field.
|
void |
SynthPainter.paintPopupMenuBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a popup menu.
|
void |
SynthPainter.paintPopupMenuBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a popup menu.
|
void |
SynthPainter.paintProgressBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a progress bar.
|
void |
SynthPainter.paintProgressBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of a progress bar.
|
void |
SynthPainter.paintProgressBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a progress bar.
|
void |
SynthPainter.paintProgressBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of a progress bar.
|
void |
SynthPainter.paintProgressBarForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the foreground of a progress bar.
|
void |
SynthPainter.paintRadioButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a radio button.
|
void |
SynthPainter.paintRadioButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a radio button.
|
void |
SynthPainter.paintRadioButtonMenuItemBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a radio button menu item.
|
void |
SynthPainter.paintRadioButtonMenuItemBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a radio button menu item.
|
void |
SynthPainter.paintRootPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a root pane.
|
void |
SynthPainter.paintRootPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a root pane.
|
void |
SynthPainter.paintScrollBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a scrollbar.
|
void |
SynthPainter.paintScrollBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of a scrollbar.
|
void |
SynthPainter.paintScrollBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a scrollbar.
|
void |
SynthPainter.paintScrollBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of a scrollbar.
|
void |
SynthPainter.paintScrollBarThumbBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the thumb of a scrollbar.
|
void |
SynthPainter.paintScrollBarThumbBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the thumb of a scrollbar.
|
void |
SynthPainter.paintScrollBarTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the track of a scrollbar.
|
void |
SynthPainter.paintScrollBarTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the track of a scrollbar.
|
void |
SynthPainter.paintScrollBarTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the track of a scrollbar.
|
void |
SynthPainter.paintScrollBarTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the track of a scrollbar.
|
void |
SynthPainter.paintScrollPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a scroll pane.
|
void |
SynthPainter.paintScrollPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a scroll pane.
|
void |
SynthPainter.paintSeparatorBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a separator.
|
void |
SynthPainter.paintSeparatorBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of a separator.
|
void |
SynthPainter.paintSeparatorBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a separator.
|
void |
SynthPainter.paintSeparatorBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of a separator.
|
void |
SynthPainter.paintSeparatorForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the foreground of a separator.
|
void |
SynthPainter.paintSliderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a slider.
|
void |
SynthPainter.paintSliderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of a slider.
|
void |
SynthPainter.paintSliderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a slider.
|
void |
SynthPainter.paintSliderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of a slider.
|
void |
SynthPainter.paintSliderThumbBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the thumb of a slider.
|
void |
SynthPainter.paintSliderThumbBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the thumb of a slider.
|
void |
SynthPainter.paintSliderTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the track of a slider.
|
void |
SynthPainter.paintSliderTrackBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the track of a slider.
|
void |
SynthPainter.paintSliderTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the track of a slider.
|
void |
SynthPainter.paintSliderTrackBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the track of a slider.
|
void |
SynthPainter.paintSpinnerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a spinner.
|
void |
SynthPainter.paintSpinnerBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a spinner.
|
void |
SynthPainter.paintSplitPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a split pane.
|
void |
SynthPainter.paintSplitPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a split pane.
|
void |
SynthPainter.paintSplitPaneDividerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the divider of a split pane.
|
void |
SynthPainter.paintSplitPaneDividerBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the divider of a split pane.
|
void |
SynthPainter.paintSplitPaneDividerForeground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the foreground of the divider of a split pane.
|
void |
SynthPainter.paintSplitPaneDragDivider(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the divider, when the user is dragging the divider, of a
split pane.
|
void |
SynthPainter.paintTabbedPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the area that contains the content of the
selected tab of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the area that contains the content of the
selected tab of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the area behind the tabs of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the area behind the tabs of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the area behind the tabs of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the area behind the tabs of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex)
Paints the background of a tab of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex,
int orientation)
Paints the background of a tab of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex)
Paints the border of a tab of a tabbed pane.
|
void |
SynthPainter.paintTabbedPaneTabBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int tabIndex,
int orientation)
Paints the border of a tab of a tabbed pane.
|
void |
SynthPainter.paintTableBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a table.
|
void |
SynthPainter.paintTableBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a table.
|
void |
SynthPainter.paintTableHeaderBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the header of a table.
|
void |
SynthPainter.paintTableHeaderBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the header of a table.
|
protected void |
SynthProgressBarUI.paintText(SynthContext context,
Graphics g,
String title)
Paints the component's text.
|
void |
SynthGraphicsUtils.paintText(SynthContext ss,
Graphics g,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
int iconTextGap,
int mnemonicIndex,
int textOffset)
Paints an icon and text.
|
void |
SynthGraphicsUtils.paintText(SynthContext ss,
Graphics g,
String text,
int x,
int y,
int mnemonicIndex)
Paints text at the specified location.
|
void |
SynthGraphicsUtils.paintText(SynthContext ss,
Graphics g,
String text,
Rectangle bounds,
int mnemonicIndex)
Paints text at the specified location.
|
void |
SynthPainter.paintTextAreaBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a text area.
|
void |
SynthPainter.paintTextAreaBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a text area.
|
void |
SynthPainter.paintTextFieldBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a text field.
|
void |
SynthPainter.paintTextFieldBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a text field.
|
void |
SynthPainter.paintTextPaneBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a text pane.
|
void |
SynthPainter.paintTextPaneBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a text pane.
|
protected void |
SynthSliderUI.paintThumb(SynthContext context,
Graphics g,
Rectangle thumbBounds)
Paints the slider thumb.
|
protected void |
SynthScrollBarUI.paintThumb(SynthContext context,
Graphics g,
Rectangle thumbBounds)
Paints the scrollbar thumb.
|
void |
SynthPainter.paintToggleButtonBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a toggle button.
|
void |
SynthPainter.paintToggleButtonBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a toggle button.
|
void |
SynthPainter.paintToolBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a tool bar.
|
void |
SynthPainter.paintToolBarBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of a tool bar.
|
void |
SynthPainter.paintToolBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a tool bar.
|
void |
SynthPainter.paintToolBarBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of a tool bar.
|
void |
SynthPainter.paintToolBarContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the tool bar's content area.
|
void |
SynthPainter.paintToolBarContentBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the tool bar's content area.
|
void |
SynthPainter.paintToolBarContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the content area of a tool bar.
|
void |
SynthPainter.paintToolBarContentBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the content area of a tool bar.
|
void |
SynthPainter.paintToolBarDragWindowBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the window containing the tool bar when it
has been detached from its primary frame.
|
void |
SynthPainter.paintToolBarDragWindowBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the background of the window containing the tool bar when it
has been detached from its primary frame.
|
void |
SynthPainter.paintToolBarDragWindowBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the window containing the tool bar when it
has been detached from it's primary frame.
|
void |
SynthPainter.paintToolBarDragWindowBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h,
int orientation)
Paints the border of the window containing the tool bar when it
has been detached from it's primary frame.
|
void |
SynthPainter.paintToolTipBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a tool tip.
|
void |
SynthPainter.paintToolTipBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a tool tip.
|
protected void |
SynthSliderUI.paintTrack(SynthContext context,
Graphics g,
Rectangle trackBounds)
Paints the slider track.
|
protected void |
SynthScrollBarUI.paintTrack(SynthContext context,
Graphics g,
Rectangle trackBounds)
Paints the scrollbar track.
|
void |
SynthPainter.paintTreeBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of a tree.
|
void |
SynthPainter.paintTreeBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a tree.
|
void |
SynthPainter.paintTreeCellBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the row containing a cell in a tree.
|
void |
SynthPainter.paintTreeCellBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of the row containing a cell in a tree.
|
void |
SynthPainter.paintTreeCellFocus(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the focus indicator for a cell in a tree when it has focus.
|
void |
SynthPainter.paintViewportBackground(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the background of the viewport.
|
void |
SynthPainter.paintViewportBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border of a viewport.
|
void |
SynthStyle.uninstallDefaults(SynthContext context)
Uninstalls any state that this style installed on
the
JComponent from context . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.