Frames | No Frames |
Methods with parameter type javax.swing.plaf.synth.SynthContext | |
int | Returns the width of the string text for the specified font
and font metrics.
|
void | SynthGraphicsUtils.drawLine(SynthContext ctx, Object paintKey, Graphics g, int x1, int y1, int x2, int y2) Draws a line from (x1,y1) to (x2,y2).
|
Object | |
boolean | A convenience method to fetch an integer property.
|
Color | |
Color | |
Font | |
Font | |
SynthGraphicsUtils | |
Icon | A convenience method to fetch an Icon-valued property.
|
Insets | |
int | A convenience method to fetch an integer property.
|
int | Returns the maximum character height of the font from the component of the
passed in context .
|
Dimension | SynthGraphicsUtils.getMaximumSize(SynthContext ctx, Font font, String text, Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition, int iconTextGap, int mnemonicIndex) Calculates the maximum size that is needed to render the label with
text and icon correctly.
|
Dimension | SynthGraphicsUtils.getMinimumSize(SynthContext ctx, Font font, String text, Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition, int iconTextGap, int mnemonicIndex) Calculates the minimums size that is needed to render the label with
text and icon correctly.
|
SynthPainter | |
Dimension | SynthGraphicsUtils.getPreferredSize(SynthContext ctx, Font font, String text, Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition, int iconTextGap, int mnemonicIndex) Calculates the preferred size that is needed to render the label with
text and icon correctly.
|
String | A convenience method to fetch a String property.
|
void | |
boolean | |
String | SynthGraphicsUtils.layoutText(SynthContext ctx, FontMetrics fm, String text, Icon icon, int hAlign, int vAlign, int hTextPos, int vTextPos, Rectangle viewR, Rectangle iconR, Rectangle textR, int iconTextGap) Lays out a label and (if non-null) an icon. |
void | Paints the background of an arrow button.
|
void | Paints the border of an arrow button.
|
void | SynthPainter.paintArrowButtonForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir) Paints the foreground of an arrow button.
|
void | Paints the background of a button.
|
void | Paints the border of a button.
|
void | Paints the background of a check box.
|
void | Paints the border of a check box.
|
void | SynthPainter.paintCheckBoxMenuItemBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the background of a check box menu item.
|
void | Paints the border of a check box menu item.
|
void | Paints the background of a color chooser.
|
void | Paints the border of a color chooser.
|
void | Paints the background of a combo box.
|
void | Paints the border of a combo box.
|
void | Paints the background of a desktop icon.
|
void | Paints the border of a desktop icon.
|
void | Paints the background of a desktop pane.
|
void | Paints the border of a desktop pane.
|
void | Paints the background of an editor pane.
|
void | Paints the border of an editor pane.
|
void | Paints the background of a file chooser.
|
void | Paints the border of a file chooser.
|
void | SynthPainter.paintFormattedTextFieldBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the background of a formatted text field.
|
void | SynthPainter.paintFormattedTextFieldBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the border of a formatted text field.
|
void | Paints the background of an internal frame.
|
void | Paints the border of an internal frame.
|
void | SynthPainter.paintInternalFrameTitlePaneBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the background of an internal frame's title pane.
|
void | SynthPainter.paintInternalFrameTitlePaneBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the border of an internal frame's title pane.
|
void | Paints the background of a label.
|
void | Paints the border of a label.
|
void | Paints the background of a list.
|
void | Paints the border of a list.
|
void | Paints the background of a menu.
|
void | Paints the background of a menu bar.
|
void | Paints the border of a menu bar.
|
void | Paints the border of a menu.
|
void | Paints the background of a menu item.
|
void | Paints the border of a menu item.
|
void | Paints the background of an option pane.
|
void | Paints the border of an option pane.
|
void | Paints the background of a panel.
|
void | Paints the border of a panel.
|
void | Paints the background of a password field.
|
void | Paints the border of a password field.
|
void | Paints the background of a popup menu.
|
void | Paints the border of a popup menu.
|
void | Paints the background of a progress bar.
|
void | Paints the border of a progress bar.
|
void | SynthPainter.paintProgressBarForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir) Paints the foreground of a progress bar.
|
void | Paints the background of a radio button.
|
void | Paints the border of a radio button.
|
void | SynthPainter.paintRadioButtonMenuItemBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the background of a radio button menu item.
|
void | SynthPainter.paintRadioButtonMenuItemBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the border of a radio button menu item.
|
void | Paints the background of a root pane.
|
void | Paints the border of a root pane.
|
void | Paints the background of a scrollbar.
|
void | Paints the border of a scrollbar.
|
void | SynthPainter.paintScrollBarThumbBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation) Paints the background of a scrollbar's thumb.
|
void | SynthPainter.paintScrollBarThumbBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation) Paints the border of a scrollbar's thumb.
|
void | SynthPainter.paintScrollBarTrackBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the background of a scrollbar's track.
|
void | Paints the border of a scrollbar's track.
|
void | Paints the background of a scroll pane.
|
void | Paints the border of a scroll pane.
|
void | Paints the background of a separator.
|
void | Paints the border of a separator.
|
void | SynthPainter.paintSeparatorForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir) Paints the foreground of a separator.
|
void | Paints the background of a slider.
|
void | Paints the border of a slider.
|
void | SynthPainter.paintSliderThumbBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation) Paints the background of a slider's thumb.
|
void | SynthPainter.paintSliderThumbBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h, int orientation) Paints the border of a slider's thumb.
|
void | Paints the background of a slider's track.
|
void | Paints the border of a slider's track.
|
void | Paints the background of a spinner.
|
void | Paints the border of a spinner.
|
void | Paints the background of a split pane.
|
void | Paints the border of a split pane.
|
void | SynthPainter.paintSplitPaneDividerBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the background of a split pane's divider.
|
void | SynthPainter.paintSplitPaneDividerForeground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir) Paints the foreground of a split pane's divider.
|
void | SynthPainter.paintSplitPaneDragDivider(SynthContext ctx, Graphics g, int x, int y, int w, int h, int dir) Paints a split pane's divider, when it is being dragged.
|
void | Paints the background of a tabbed pane.
|
void | Paints the border of a tabbed pane.
|
void | SynthPainter.paintTabbedPaneContentBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the background of the contents of a tabbed pane.
|
void | Paints the border of the contents of a tabbed pane.
|
void | SynthPainter.paintTabbedPaneTabAreaBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the background of the tab area of a tabbed pane.
|
void | Paints the border of the tab area of a tabbed pane.
|
void | SynthPainter.paintTabbedPaneTabBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h, int index) Paints the background of a tab of a tabbed pane.
|
void | SynthPainter.paintTabbedPaneTabBorder(SynthContext ctx, Graphics g, int x, int y, int w, int h, int index) Paints the border of a tab of a tabbed pane.
|
void | Paints the background of a table.
|
void | Paints the border of a table.
|
void | Paints the background of a table's header.
|
void | Paints the border of a table's header.
|
void | SynthGraphicsUtils.paintText(SynthContext ctx, Graphics g, String text, int x, int y, int mnemonicIndex) Renders the specified text at the specified location.
|
void | SynthGraphicsUtils.paintText(SynthContext ctx, Graphics g, String text, Rectangle bounds, int mnemonicIndex) Renders the specified text within the bounds .
|
void | SynthGraphicsUtils.paintText(SynthContext ctx, Graphics g, String text, Icon icon, int hAlign, int vAlign, int hTextPosition, int vTextPosition, int iconTextGap, int mnemonicIndex, int textOffset) |
void | Paints the background of a text area.
|
void | Paints the border of a text area.
|
void | Paints the background of a text field.
|
void | Paints the border of a text field.
|
void | Paints the background of a text pane.
|
void | Paints the border of a text pane.
|
void | Paints the background of a toggle button.
|
void | Paints the border of a toggle button.
|
void | Paints the background of a toolbar.
|
void | Paints the border of a toolbar.
|
void | SynthPainter.paintToolBarContentBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the background of the contents of a toolbar.
|
void | Paints the border of the contents of a toolbar.
|
void | SynthPainter.paintToolBarDragWindowBackground(SynthContext ctx, Graphics g, int x, int y, int w, int h) Paints the background of the window of a detached toolbar.
|
void | Paints the border of the window of a detached toolbar.
|
void | Paints the background of a tool tip.
|
void | Paints the border of a tool tip.
|
void | Paints the background of a tree.
|
void | Paints the border of a tree.
|
void | Paints the background of a cell in a tree.
|
void | Paints the border of a cell in a tree.
|
void | Paints the indicator for a tree cell which has the focus.
|
void | Paints the background of a viewport.
|
void | Paints the border of a viewport.
|
void |