synthpainter.java

来自「java1.6众多例子参考」· Java 代码 · 共 1,603 行 · 第 1/5 页

JAVA
1,603
字号
     *                           <code>JSeparator.VERTICAL</code>     */    public void paintSeparatorForeground(SynthContext context,                                 Graphics g, int x, int y,                                 int w, int h, int orientation) {    }    /**     * Paints the background of a slider.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     */    public void paintSliderBackground(SynthContext context,                                     Graphics g, int x, int y,                                     int w, int h) {    }    /**     * Paints the background of a slider. This implementation invokes the     * method of the same name without the orientation.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     * @param orientation One of <code>JSlider.HORIZONTAL</code> or     *                           <code>JSlider.VERTICAL</code>     * @since 1.6     */    public void paintSliderBackground(SynthContext context,                                     Graphics g, int x, int y,                                     int w, int h, int orientation) {        paintSliderBackground(context, g, x, y, w, h);    }    /**     * Paints the border of a slider.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     */    public void paintSliderBorder(SynthContext context,                                 Graphics g, int x, int y,                                 int w, int h) {    }        /**     * Paints the border of a slider. This implementation invokes the     * method of the same name without the orientation.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     * @param orientation One of <code>JSlider.HORIZONTAL</code> or     *                           <code>JSlider.VERTICAL</code>     * @since 1.6     */    public void paintSliderBorder(SynthContext context,                                 Graphics g, int x, int y,                                 int w, int h, int orientation) {        paintSliderBorder(context, g, x, y, w, h);    }    /**     * Paints the background of the thumb of a slider.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     * @param orientation One of <code>JSlider.HORIZONTAL</code> or     *                           <code>JSlider.VERTICAL</code>     */    public void paintSliderThumbBackground(SynthContext context,                                     Graphics g, int x, int y,                                     int w, int h, int orientation) {    }    /**     * Paints the border of the thumb of a slider.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     * @param orientation One of <code>JSlider.HORIZONTAL</code> or     *                           <code>JSlider.VERTICAL</code>     */    public void paintSliderThumbBorder(SynthContext context,                                 Graphics g, int x, int y,                                 int w, int h, int orientation) {    }    /**     * Paints the background of the track of a slider.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     */    public void paintSliderTrackBackground(SynthContext context,                                     Graphics g, int x, int y,                                     int w, int h) {    }        /**     * Paints the background of the track of a slider. This implementation invokes     * the method of the same name without the orientation.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     * @param orientation One of <code>JSlider.HORIZONTAL</code> or     *                           <code>JSlider.VERTICAL</code>     * @since 1.6     */    public void paintSliderTrackBackground(SynthContext context,                                     Graphics g, int x, int y,                                     int w, int h, int orientation) {        paintSliderTrackBackground(context, g, x, y, w, h);    }    /**     * Paints the border of the track of a slider.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     */    public void paintSliderTrackBorder(SynthContext context,                                 Graphics g, int x, int y,                                 int w, int h) {    }        /**     * Paints the border of the track of a slider. This implementation invokes the     * method of the same name without the orientation.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     * @param orientation One of <code>JSlider.HORIZONTAL</code> or     *                           <code>JSlider.VERTICAL</code>     * @since 1.6     */    public void paintSliderTrackBorder(SynthContext context,                                 Graphics g, int x, int y,                                 int w, int h, int orientation) {        paintSliderTrackBorder(context, g, x, y, w, h);    }    /**     * Paints the background of a spinner.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     */    public void paintSpinnerBackground(SynthContext context,                                     Graphics g, int x, int y,                                     int w, int h) {    }    /**     * Paints the border of a spinner.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     */    public void paintSpinnerBorder(SynthContext context,                                 Graphics g, int x, int y,                                 int w, int h) {    }    /**     * Paints the background of the divider of a split pane.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     */    public void paintSplitPaneDividerBackground(SynthContext context,                                     Graphics g, int x, int y,                                     int w, int h) {    }        /**     * Paints the background of the divider of a split pane. This implementation     * invokes the method of the same name without the orientation.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or     *                           <code>JSplitPane.VERTICAL_SPLIT</code>     * @since 1.6     */    public void paintSplitPaneDividerBackground(SynthContext context,                                     Graphics g, int x, int y,                                     int w, int h, int orientation) {        paintSplitPaneDividerBackground(context, g, x, y, w, h);    }    /**     * Paints the foreground of the divider of a split pane.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or     *                           <code>JSplitPane.VERTICAL_SPLIT</code>     */    public void paintSplitPaneDividerForeground(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.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or     *                           <code>JSplitPane.VERTICAL_SPLIT</code>     */    public void paintSplitPaneDragDivider(SynthContext context,                                     Graphics g, int x, int y,                                     int w, int h, int orientation) {    }    /**     * Paints the background of a split pane.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> to paint to     * @param x X coordinate of the area to paint to     * @param y Y coordinate of the area to paint to     * @param w Width of the area to paint to     * @param h Height of the area to paint to     */    public void paintSplitPaneBackground(SynthContext context,                                     Graphics g, int x, int y,                                     int w, int h) {    }    /**     * Paints the border of a split pane.     *     * @param context SynthContext identifying the <code>JComponent</code> and     *        <code>Region</code> to paint to     * @param g <code>Graphics</code> t

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?