クラスjava.awt.Graphics
の使用

Graphicsを使用するパッケージ
パッケージ
説明
ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。
イメージを作成および修正するためのクラスを提供します。
このパッケージは、汎用印刷APIで使用するクラスおよびインタフェースを提供します。
beansの開発に関連するクラスが含まれます -- JavaBeansアーキテクチャに基づくコンポーネント。
すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。
Swingコンポーネントの周囲に各種ボーダーを描画するためのクラスおよびインタフェースを提供します。
JColorChooserコンポーネントによって使用されるクラスとインタフェースが含まれています。
1つのインタフェースおよび多くのabstractクラスを提供しており、Swingはプラグイン可能なLook & Feel機能を提供するためにこれらを利用します。
基本Look & Feelに従って構築されたユーザー・インタフェース・オブジェクトを提供します。
デフォルトのLook & FeelであるJava Look & Feel (以前のコード名はMetal)に従って構築されたユーザー・インタフェース・オブジェクトを提供します。
複数のLook & Feelを結合するユーザー・インタフェース・オブジェクトを提供します。
Synthは、すべてのペイントが委譲されるスキン設定可能なLook & Feelです。
編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。
HTMLテキスト・エディタを作成するためのクラスHTMLEditorKitとサポート・クラスを提供します。
javax.swing.JTreeを処理するためのクラスとインタフェースを提供します。
  • java.awtでのGraphicsの使用

    java.awtでのGraphicsのサブクラス
    修飾子と型
    クラス
    説明
    class 
    このGraphics2Dクラスは、Graphicsクラスを拡張して、幾何学的図形、座標変換、色の管理、およびテキスト・レイアウトに対するより高度な制御を提供します。
    Graphicsを返すjava.awtのメソッド
    修飾子と型
    メソッド
    説明
    abstract Graphics
    Graphics.create()
    このGraphicsオブジェクトのコピーである新しいGraphicsオブジェクトを作成します。
    Graphics.create(int x, int y, int width, int height)
    このGraphicsオブジェクトに基づいた新しいGraphicsオブジェクトを、新しい変換およびクリップ領域で作成します。
    Component.BltBufferStrategy.getDrawGraphics()
     
    Component.FlipBufferStrategy.getDrawGraphics()
     
    Component.getGraphics()
    このコンポーネントのグラフィックス・コンテキストを作成します。
    abstract Graphics
    Image.getGraphics()
    オフスクリーン・イメージに描画するためのグラフィックス・コンテキストを作成します。
    abstract Graphics
    PrintJob.getGraphics()
    次のページに描くグラフィックス・オブジェクトを返します。
    Graphics型のパラメータを持つjava.awtのメソッド
    修飾子と型
    メソッド
    説明
    FontMetrics.getLineMetrics(char[] chars, int beginIndex, int limit, Graphics context)
    指定されたGraphicsコンテキスト内の指定されたchar配列のLineMetricsオブジェクトを返します。
    FontMetrics.getLineMetrics(String str, int beginIndex, int limit, Graphics context)
    指定されたGraphicsコンテキスト内の指定されたStringLineMetricsオブジェクトを返します。
    FontMetrics.getLineMetrics(String str, Graphics context)
    指定されたGraphicsコンテキスト内の指定されたStringLineMetricsオブジェクトを返します。
    FontMetrics.getLineMetrics(CharacterIterator ci, int beginIndex, int limit, Graphics context)
    指定されたGraphicsコンテキスト内の指定されたCharacterIteratorLineMetricsオブジェクトを返します。
    FontMetrics.getMaxCharBounds(Graphics context)
    指定されたGraphicsコンテキスト内の最大の境界を持つ文字の境界を返します。
    FontMetrics.getStringBounds(char[] chars, int beginIndex, int limit, Graphics context)
    指定されたGraphicsコンテキスト内の指定された文字の配列の境界を返します。
    FontMetrics.getStringBounds(String str, int beginIndex, int limit, Graphics context)
    指定されたGraphicsコンテキスト内の指定されたStringの境界を返します。
    FontMetrics.getStringBounds(String str, Graphics context)
    指定されたGraphicsコンテキスト内の指定されたStringの境界を返します。
    FontMetrics.getStringBounds(CharacterIterator ci, int beginIndex, int limit, Graphics context)
    指定されたGraphicsコンテキスト内の指定されたCharacterIteratorでインデックスが付けられた文字の境界を返します。
    void
    Canvas.paint(Graphics g)
    このキャンバスをペイントします。
    void
    Component.paint(Graphics g)
    このコンポーネントをペイントします。
    void
    Container.paint(Graphics g)
    コンテナをペイントします。
    void
    Window.paint(Graphics g)
    コンテナをペイントします。
    void
    Component.paintAll(Graphics g)
    このコンポーネントおよびそのすべてのサブコンポーネントをペイントします。
    void
    このコンテナ内の各コンポーネントをペイントします。
    void
    Component.print(Graphics g)
    このコンポーネントを出力します。
    void
    Container.print(Graphics g)
    コンテナを出力します。
    void
    Component.printAll(Graphics g)
    このコンポーネントおよびそのすべてのサブコンポーネントを出力します。
    void
    このコンテナ内の各コンポーネントを出力します。
    void
    ScrollPane.printComponents(Graphics g)
    このスクロール・ペイン内のコンポーネントを出力します。
    void
    Canvas.update(Graphics g)
    このキャンバスを更新します。
    void
    Component.update(Graphics g)
    このコンポーネントを更新します。
    void
    Container.update(Graphics g)
    コンテナを更新します。
  • java.awt.imageでのGraphicsの使用

    Graphicsを返すjava.awt.imageのメソッド
    修飾子と型
    メソッド
    説明
    abstract Graphics
    BufferStrategy.getDrawGraphics()
    描画バッファのグラフィックス・コンテキストを作成します。
    AbstractMultiResolutionImage.getGraphics()
    ベースのImage#getGraphics()メソッドのコントラクトに従って、オフ・スクリーン・イメージだけがGraphicsオブジェクトを返すことができるので、この実装は常にUnsupportedOperationExceptionをスローします。
    BufferedImage.getGraphics()
    このメソッドはGraphics2Dを返しますが、ここでは下位互換性のために提供されます。
    VolatileImage.getGraphics()
    このメソッドはGraphics2Dを返しますが、ここでは下位互換性のために提供されます。
  • java.awt.printでのGraphicsの使用

    Graphics型のパラメータを持つjava.awt.printのメソッド
    修飾子と型
    メソッド
    説明
    int
    Printable.print(Graphics graphics, PageFormat pageFormat, int pageIndex)
    指定されたインデックスにあるページを、指定された書式で、指定されたGraphicsコンテキストに印刷します。
  • java.beansでのGraphicsの使用

    Graphics型のパラメータを持つjava.beansのメソッド
    修飾子と型
    メソッド
    説明
    void
    PropertyEditor.paintValue(Graphics gfx, Rectangle box)
    値の表現を画面の指定された領域に描画します。
    void
    PropertyEditorSupport.paintValue(Graphics gfx, Rectangle box)
    値の表現を画面の指定された領域に描画します。
  • javax.swingでのGraphicsの使用

    javax.swingでのGraphicsのサブクラス
    修飾子と型
    クラス
    説明
    class 
    グラフィックスのデバッグをサポートするGraphicsのサブクラスです。
    Graphicsを返すjavax.swingのメソッド
    修飾子と型
    メソッド
    説明
    DebugGraphics.create()
    Graphics.createをオーバーライドして、DebugGraphicsオブジェクトを返すようにします。
    DebugGraphics.create(int x, int y, int width, int height)
    Graphics.createをオーバーライドして、DebugGraphicsオブジェクトを返すようにします。
    protected Graphics
    このコンポーネントをペイントするために使用されるグラフィックス・オブジェクトを返します。
    JApplet.getGraphics()
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    このコンポーネントのグラフィックス・コンテキストを作成します。
    JComponent.getGraphics()
    このコンポーネントのグラフィックス・コンテキストを返します。グラフィックス・コンテキストを使用すると、コンポーネントを描画できます。
    JDialog.getGraphics()
    このコンポーネントのグラフィックス・コンテキストを作成します。
    JFrame.getGraphics()
    このコンポーネントのグラフィックス・コンテキストを作成します。
    JWindow.getGraphics()
    このコンポーネントのグラフィックス・コンテキストを作成します。
    Graphics型のパラメータを持つjavax.swingのメソッド
    修飾子と型
    メソッド
    説明
    protected Graphics
    このコンポーネントをペイントするために使用されるグラフィックス・オブジェクトを返します。
    void
    CellRendererPane.paint(Graphics g)
    呼び出しません。
    void
    JComponent.paint(Graphics g)
    コンポーネントを描画するためにSwingによって呼び出されます。
    void
    JLayer.paint(Graphics g)
    すべてのペイントをLayerUIオブジェクトに委譲します。
    void
    JLayeredPane.paint(Graphics g)
    指定されたグラフィックス・コンテキストで、このJLayeredPaneをペイントします。
    void
    JViewport.paint(Graphics g)
    backingStoreが使用可能かどうかに応じて、バッキング・ストアを介してイメージをペイントするか、または現在表示されている部分だけをペイントし、バッキング・ストアを使用して残りの部分を「Blit」します。
    protected void
    AbstractButton.paintBorder(Graphics g)
    BorderPaintedプロパティがtrueであり、ボタンがボーダーを持つ場合、ボタンのボーダーをペイントします。
    protected void
    JComponent.paintBorder(Graphics g)
    コンポーネントのボーダーをペイントします。
    protected void
    JMenuBar.paintBorder(Graphics g)
    BorderPaintedプロパティがtrueの場合、メニュー・バーのボーダーをペイントします。
    protected void
    JPopupMenu.paintBorder(Graphics g)
    borderPaintedプロパティがtrueである場合に、ポップアップ・メニューのボーダーをペイントします。
    protected void
    JProgressBar.paintBorder(Graphics g)
    borderPaintedプロパティがtrueである場合に、進捗バーのボーダーをペイントします。
    protected void
    JToolBar.paintBorder(Graphics g)
    borderPaintedプロパティがtrueの場合に、ツールバーのボーダーをペイントします。
    protected void
    JComponent.paintChildren(Graphics g)
    このコンポーネントの子をペイントします。
    protected void
    JSplitPane.paintChildren(Graphics g)
    superにメッセージが送られたあとにfinishedPaintingChildrenを持つUIにメッセージを送り、ボーダーをペイントするために、サブクラス化されます。
    protected void
    Box.Filler.paintComponent(Graphics g)
    このFillerをペイントします。
    protected void
    このBoxをペイントします。
    void
    CellRendererPane.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h)
    this.paintComponent(g, c, p, x, y, w, h, false)を呼び出します。
    void
    CellRendererPane.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate)
    セル・レンダラ・コンポーネントcをグラフィックス・オブジェクトgにペイントします。
    void
    CellRendererPane.paintComponent(Graphics g, Component c, Container p, Rectangle r)
    this.paintComponent(g, c, p, r.x, r.y, r.width, r.height)をコールします。rは入力Rectangleパラメータです。
    protected void
    JComponent.paintComponent(Graphics g)
    UI委譲がnullでない場合に、UI委譲のペイント・メソッドを呼び出します。
    protected void
    JInternalFrame.paintComponent(Graphics g)
    内部フレームがドラッグされているときに最適化されたペイントを許可するためオーバーライドされます。
    protected void
    すべてのペイントはJLayer.paint(Graphics)およびComponentUI.update(Graphics, JComponent)メソッドによって実行されるため、このメソッドは空です。
    static void
    SwingUtilities.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h)
    指定されたGraphicsで、コンポーネントをペイントします。
    static void
    SwingUtilities.paintComponent(Graphics g, Component c, Container p, Rectangle r)
    指定されたGraphicsで、コンポーネントをペイントします。
    void
    Icon.paintIcon(Component c, Graphics g, int x, int y)
    指定された位置にアイコンを描画します。
    void
    ImageIcon.paintIcon(Component c, Graphics g, int x, int y)
    アイコンをペイントします。
    void
    JComponent.print(Graphics g)
    コンポーネントを指定のGraphicsに出力するときに、このメソッドを呼び出します。
    void
    JComponent.printAll(Graphics g)
    コンポーネントを出力するときにこのメソッドを呼び出します。
    protected void
    JComponent.printBorder(Graphics g)
    コンポーネントのボーダーを出力します。
    protected void
    JComponent.printChildren(Graphics g)
    このコンポーネントの子を出力します。
    protected void
    JComponent.printComponent(Graphics g)
    このメソッドは出力操作中に呼び出されます。
    void
    CellRendererPane.update(Graphics g)
    呼び出しません。
    void
    JApplet.update(Graphics g)
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    paint(g)を呼び出すだけです。
    void
    JComponent.update(Graphics g)
    paintを呼び出します。
    void
    JDialog.update(Graphics g)
    paint(g)を呼び出します。
    void
    JFrame.update(Graphics g)
    paint(g)を呼び出すだけです。
    void
    JWindow.update(Graphics g)
    paint(g)を呼び出します。
    Graphics型のパラメータを持つjavax.swingのコンストラクタ
    修飾子
    コンストラクタ
    説明
     
    既存のグラフィックス・コンテキストから、速度の遅い描画をサポートするデバッグ・グラフィックス・コンテキストを構築します。
     
    DebugGraphics(Graphics graphics, JComponent component)
    既存のグラフィックス・コンテキストから、指定されたコンポーネントの描画速度を遅くするデバッグ・グラフィックス・コンテキストを構築します。
  • javax.swing.borderでのGraphicsの使用

    Graphics型のパラメータを持つjavax.swing.borderのメソッド
    修飾子と型
    メソッド
    説明
    void
    AbstractBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    このデフォルト実装では、ペイントを行いません。
    void
    BevelBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
    void
    Border.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
    void
    CompoundBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    複合ボーダーをペイントします。外側ボーダーを指定された位置とサイズでペイントしてから、内側ボーダーを指定された位置とサイズ(外側ボーダーのイン・セットでオフセット)でペイントします。
    void
    EmptyBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    デフォルトでは、描画を行いません。
    void
    EtchedBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
    void
    LineBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
    void
    MatteBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    飾り縁ボーダーをペイントします。
    void
    SoftBevelBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
    void
    StrokeBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
    void
    TitledBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
    protected void
    BevelBorder.paintLoweredBevel(Component c, Graphics g, int x, int y, int width, int height)
    指定された位置およびサイズで、指定されたコンポーネントの下げべベルをペイントします。
    protected void
    BevelBorder.paintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height)
    指定された位置とサイズで、指定されたコンポーネントの上げベベルをペイントします。
  • javax.swing.colorchooserでのGraphicsの使用

    Graphics型のパラメータを持つjavax.swing.colorchooserのメソッド
    修飾子と型
    メソッド
    説明
    void
    AbstractColorChooserPanel.paint(Graphics g)
    パネルを描画します。
  • javax.swing.plafでのGraphicsの使用

    Graphics型のパラメータを持つjavax.swing.plafのメソッド
    修飾子と型
    メソッド
    説明
    abstract void
    レシーバがLook & Feelを提供しているJSplitPaneがその子をペイントしたあとに、メッセージを受け取ります。
    void
    ComponentUI.paint(Graphics g, JComponent c)
    指定されたコンポーネントをLook & Feelに合わせてペイントします。
    void
    LayerUI.paint(Graphics g, JComponent c)
    指定されたコンポーネントをペイントします。
    void
    BorderUIResource.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
     
    void
    IconUIResource.paintIcon(Component c, Graphics g, int x, int y)
     
    void
    ComponentUI.update(Graphics g, JComponent c)
    指定されたコンポーネントをペイントする時間になったことを、このUI委譲に通知します。
  • javax.swing.plaf.basicでのGraphicsの使用

    Graphics型のパラメータを持つjavax.swing.plaf.basicのメソッド
    修飾子と型
    メソッド
    説明
    static void
    BasicGraphicsUtils.drawBezel(Graphics g, int x, int y, int w, int h, boolean isPressed, boolean isDefault, Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
    ベゼルを描画します。
    protected void
    BasicTreeUI.drawCentered(Component c, Graphics graphics, Icon icon, int x, int y)
    (x,y)を中心とするiconを描画します。
    protected void
    BasicTreeUI.drawDashedHorizontalLine(Graphics g, int y, int x1, int x2)
    水平の破線を描画します。
    static void
    BasicGraphicsUtils.drawDashedRect(Graphics g, int x, int y, int width, int height)
    破線の矩形を描画します。
    protected void
    BasicTreeUI.drawDashedVerticalLine(Graphics g, int x, int y1, int y2)
    垂直の破線を描画します。
    static void
    BasicGraphicsUtils.drawEtchedRect(Graphics g, int x, int y, int w, int h, Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
    エッチングされた矩形を描画します。
    static void
    BasicGraphicsUtils.drawGroove(Graphics g, int x, int y, int w, int h, Color shadow, Color highlight)
    溝を描画します。
    static void
    BasicGraphicsUtils.drawLoweredBezel(Graphics g, int x, int y, int w, int h, Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
    下げベゼルを描画します。
    static void
    BasicGraphicsUtils.drawString(Graphics g, String text, int underlinedChar, int x, int y)
    g.drawStringと同じように、位置(x,y)にグラフィックスgを使用して文字列を描画します。
    static void
    BasicGraphicsUtils.drawStringUnderlineCharAt(Graphics g, String text, int underlinedIndex, int x, int y)
    g.drawStringと同じように、位置(x, y)にグラフィックスgを使用して文字列を描画します。
    void
    BasicSplitPaneUI.finishedPaintingChildren(JSplitPane sp, Graphics g)
    指定された分割ペインがその子のペイントを終了したときに呼び出されます。
    protected Point
    BasicProgressBarUI.getStringPlacement(Graphics g, String progressString, int x, int y, int width, int height)
    進捗文字列のペイント位置を指定します。
    void
    BasicLabelUI.paint(Graphics g, JComponent c)
    ラベル・テキストをフォアグラウンド・カラーでペイントし、ラベルが不透明の場合は、バックグラウンド全体をバックグラウンド・カラーでペイントします。
    void
    BasicListUI.paint(Graphics g, JComponent c)
    GraphicsオブジェクトclipRectと交差する行をペイントします。
    void
    BasicProgressBarUI.paint(Graphics g, JComponent c)
    ペイントを2つのメソッドpaintDeterminateまたはpaintIndeterminateのどちらかに委譲します。
    void
    BasicRadioButtonUI.paint(Graphics g, JComponent c)
    ラジオ・ボタンをペイントします。
    void
    BasicSplitPaneDivider.paint(Graphics g)
    ディバイダをペイントします。
    void
    BasicTableUI.paint(Graphics g, JComponent c)
    installUI()で設定されたtableインスタンスの表現をペイントします。
    final void
    BasicTextUI.paint(Graphics g, JComponent c)
    インタフェースをペイントします。
    protected void
    BasicMenuItemUI.paintBackground(Graphics g, JMenuItem menuItem, Color bgColor)
    メニュー項目のバックグラウンドを描画します。
    protected void
    BasicTextUI.paintBackground(Graphics g)
    ビューのバックグラウンドをペイントします。
    void
    BasicBorders.SplitPaneBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
     
    protected void
    押されたボタンをペイントします。
    protected void
    BasicListUI.paintCell(Graphics g, int row, Rectangle rowBounds, ListCellRenderer<Object> cellRenderer, ListModel<Object> dataModel, ListSelectionModel selModel, int leadIndex)
    リスト・セルをペイント: 関連する状態をコンピュートし、"ラバー・スタンプ"セル・レンダラ・コンポーネントを取得し、CellRendererPaneを使用してペイントします。
    void
    BasicInternalFrameTitlePane.paintComponent(Graphics g)
     
    protected void
    BasicTabbedPaneUI.paintContentBorder(Graphics g, int tabPlacement, int selectedIndex)
    コンテンツのボーダーをペイントします。
    protected void
    BasicTabbedPaneUI.paintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
    コンテンツのボーダーの下端をペイントします。
    protected void
    BasicTabbedPaneUI.paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
    コンテンツのボーダーの左端をペイントします。
    protected void
    BasicTabbedPaneUI.paintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
    コンテンツのボーダーの右端をペイントします。
    protected void
    BasicTabbedPaneUI.paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
    コンテンツのボーダーの上端をペイントします。
    void
    BasicComboBoxUI.paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus)
    現在選択されている項目をペイントします。
    void
    BasicComboBoxUI.paintCurrentValueBackground(Graphics g, Rectangle bounds, boolean hasFocus)
    現在選択されている項目のバックグラウンドをペイントします。
    protected void
    BasicScrollBarUI.paintDecreaseHighlight(Graphics g)
    減少のハイライトをペイントします。
    protected void
    BasicProgressBarUI.paintDeterminate(Graphics g, JComponent c)
    ほぼすべての確定モードのリニアな進捗バーで正しく動作する、汎用のpaintメソッドです。
    protected void
    BasicLabelUI.paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
    clippedTextをtextX、textYにbackground.lighter()でペイントしてから、右および下方向に1ピクセルずつずらしてbackground.darker()でペイントします。
    protected void
    BasicToolBarUI.paintDragWindow(Graphics g)
    ドラッグに使用されたウィンドウの内容をペイントします。
    protected void
    BasicTreeUI.paintDropLine(Graphics g)
    ドロップ・ラインをペイントします。
    protected void
    BasicLabelUI.paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)
    clippedTextをtextX、textYにラベル・フォアグラウンド・カラーでペイントします。
    protected void
    BasicTreeUI.paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
    行の展開(切り替え)部分をペイントします。
    protected void
    BasicButtonUI.paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)
    フォーカスされたボタンをペイントします。
    protected void
    BasicRadioButtonUI.paintFocus(Graphics g, Rectangle textRect, Dimension size)
    フォーカスされたラジオ・ボタンをペイントします。
    void
    BasicSliderUI.paintFocus(Graphics g)
    フォーカスをペイントします。
    protected void
    BasicTabbedPaneUI.paintFocusIndicator(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect, boolean isSelected)
    フォーカス・インジケータをペイントします。
    protected void
    BasicSliderUI.paintHorizontalLabel(Graphics g, int value, Component label)
    ラベル・テーブルの各ラベルに対して呼び出されます。
    protected void
    BasicTreeUI.paintHorizontalLine(Graphics g, JComponent c, int y, int left, int right)
    水平線をペイントします。
    protected void
    BasicTreeUI.paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
    脚の水平部分をペイントします。
    protected void
    BasicButtonUI.paintIcon(Graphics g, JComponent c, Rectangle iconRect)
    現在のボタンのアイコンをペイントします。
    protected void
    BasicTabbedPaneUI.paintIcon(Graphics g, int tabPlacement, int tabIndex, Icon icon, Rectangle iconRect, boolean isSelected)
    アイコンをペイントします。
    protected void
    BasicToggleButtonUI.paintIcon(Graphics g, AbstractButton b, Rectangle iconRect)
    指定されたロケーションのアイコンをペイントします。
    protected void
    BasicScrollBarUI.paintIncreaseHighlight(Graphics g)
    増加のハイライトをペイントします。
    protected void
    BasicProgressBarUI.paintIndeterminate(Graphics g, JComponent c)
    すべてのリニアなバウンシング・ボックス進捗バーで正しく動作する、汎用のpaintメソッドです。
    void
    BasicSliderUI.paintLabels(Graphics g)
    ラベルをペイントします。
    protected void
    BasicSliderUI.paintMajorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
    水平スライダの大目盛をペイントします。
    protected void
    BasicSliderUI.paintMajorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
    垂直スライダの大目盛をペイントします。
    protected void
    BasicMenuItemUI.paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap)
    メニュー・アイテムをペイントします。
    protected void
    BasicSliderUI.paintMinorTickForHorizSlider(Graphics g, Rectangle tickBounds, int x)
    水平スライダの小目盛をペイントします。
    protected void
    BasicSliderUI.paintMinorTickForVertSlider(Graphics g, Rectangle tickBounds, int y)
    垂直スライダの小目盛をペイントします。
    protected void
    BasicTreeUI.paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
    行のレンダラ部分をペイントします。
    protected void
    BasicTextUI.paintSafely(Graphics g)
    このスレッドのビューからモデルが変更されないという保証付きで、安全にインタフェースをペイントします。
    protected void
    BasicProgressBarUI.paintString(Graphics g, int x, int y, int width, int height, int amountFull, Insets b)
    進捗文字列をペイントします。
    protected void
    BasicTabbedPaneUI.paintTab(Graphics g, int tabPlacement, Rectangle[] rects, int tabIndex, Rectangle iconRect, Rectangle textRect)
    タブをペイントします。
    protected void
    BasicTabbedPaneUI.paintTabArea(Graphics g, int tabPlacement, int selectedIndex)
    タブ領域のタブをペイントします。
    protected void
    BasicTabbedPaneUI.paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    タブのバックグラウンドをペイントします。
    protected void
    BasicTabbedPaneUI.paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
    この関数は、各タブの周囲にボーダーを描画します。この関数はタブのバックグラウンドを描画するようになりました。
    protected void
    BasicButtonUI.paintText(Graphics g, AbstractButton b, Rectangle textRect, String text)
    現在のボタンのテキストをレンダリングするメソッドです。
    protected void
    BasicButtonUI.paintText(Graphics g, JComponent c, Rectangle textRect, String text)
    現在のボタンのテキストをレンダリングするメソッドです。
    protected void
    BasicMenuItemUI.paintText(Graphics g, JMenuItem menuItem, Rectangle textRect, String text)
    現在のメニュー項目のテキストをレンダリングします。
    protected void
    BasicTabbedPaneUI.paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected)
    テキストをペイントします。
    protected void
    BasicScrollBarUI.paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
    サムをペイントします。
    void
    BasicSliderUI.paintThumb(Graphics g)
    サムをペイントします。
    void
    BasicSliderUI.paintTicks(Graphics g)
    目盛をペイントします。
    protected void
    BasicInternalFrameTitlePane.paintTitleBackground(Graphics g)
    paintComponentから呼び出されます。
    protected void
    BasicScrollBarUI.paintTrack(Graphics g, JComponent c, Rectangle trackBounds)
    トラックをペイントします。
    void
    BasicSliderUI.paintTrack(Graphics g)
    トラックをペイントします。
    void
    BasicArrowButton.paintTriangle(Graphics g, int x, int y, int size, int direction, boolean isEnabled)
    三角形をペイントします。
    protected void
    BasicSliderUI.paintVerticalLabel(Graphics g, int value, Component label)
    ラベル・テーブルの各ラベルに対して呼び出されます。
    protected void
    BasicTreeUI.paintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom)
    垂直線をペイントします。
    protected void
    BasicTreeUI.paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)
    脚の垂直部分をペイントします。
    void
    BasicMenuItemUI.update(Graphics g, JComponent c)
    paintMenuItem()でバックグラウンドを描画するため、update (デフォルトでは不透明なコンポーネントのバックグラウンドを塗りつぶす)をオーバーライドしてpaint()を呼び出してください。
    void
    BasicTextUI.update(Graphics g, JComponent c)
    スーパー・クラスが制御不可能な方法でバックグラウンドをペイントします(イメージをバックグラウンドにタイリングする場合があります)。
  • javax.swing.plaf.metalでのGraphicsの使用

    Graphics型のパラメータを持つjavax.swing.plaf.metalのメソッド
    修飾子と型
    メソッド
    説明
    protected void
    MetalCheckBoxIcon.drawCheck(Component c, Graphics g, int x, int y)
    MetalCheckBoxIconをペイントします。
    protected void
    MetalTabbedPaneUI.paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
    下部のタブのボーダーをペイントします。
    void
    MetalComboBoxButton.paintComponent(Graphics g)
     
    void
    MetalComboBoxUI.paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus)
    必要に応じて、現在選択されている項目をペイントします。
    void
    MetalComboBoxUI.paintCurrentValueBackground(Graphics g, Rectangle bounds, boolean hasFocus)
    必要に応じて、現在選択されている項目のバックグラウンドをペイントします。
    void
    MetalProgressBarUI.paintDeterminate(Graphics g, JComponent c)
    進捗バーに特別なハイライトを描画します。
    protected void
    MetalLabelUI.paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
    テキストをそれぞれのラベルのフォアグラウンド・カラーではなく、グレー(Label.disabledForeground)を使ってペイントします。
    protected void
    水平の区切り線をペイントします。
    void
    MetalCheckBoxIcon.paintIcon(Component c, Graphics g, int x, int y)
     
    void
    MetalComboBoxIcon.paintIcon(Component c, Graphics g, int x, int y)
    水平線をペイントします。
    void
    MetalIconFactory.FileIcon16.paintIcon(Component c, Graphics g, int x, int y)
     
    void
    MetalIconFactory.FolderIcon16.paintIcon(Component c, Graphics g, int x, int y)
     
    void
    MetalIconFactory.PaletteCloseIcon.paintIcon(Component c, Graphics g, int x, int y)
     
    void
    MetalIconFactory.TreeControlIcon.paintIcon(Component c, Graphics g, int x, int y)
     
    protected void
    MetalToggleButtonUI.paintIcon(Graphics g, AbstractButton b, Rectangle iconRect)
    ボタンbの適切なアイコンを領域iconRectにペイントします。
    void
    MetalProgressBarUI.paintIndeterminate(Graphics g, JComponent c)
    進捗バーおよびバウンシング・ボックスに特別なハイライトを描画します。
    protected void
    MetalTabbedPaneUI.paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
    左のタブのボーダーをペイントします。
    void
    MetalIconFactory.TreeControlIcon.paintMe(Component c, Graphics g, int x, int y)
    TreeControlIconをペイントします。
    void
    MetalInternalFrameTitlePane.paintPalette(Graphics g)
    パレットをペイントします。
    protected void
    MetalTabbedPaneUI.paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
    右のタブのボーダーをペイントします。
    protected void
    MetalTabbedPaneUI.paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
    上部のタブのボーダーをペイントします。
    void
    MetalButtonUI.update(Graphics g, JComponent c)
    必要に応じて、コンポーネントのバックグラウンドをペイントしてから、paintを呼び出します。
    void
    MetalMenuBarUI.update(Graphics g, JComponent c)
    必要に応じて、コンポーネントのバックグラウンドをペイントしてから、paintを呼び出します。
    void
    MetalToggleButtonUI.update(Graphics g, JComponent c)
    必要に応じて、コンポーネントのバックグラウンドをペイントしてから、paintを呼び出します。
    void
    MetalToolBarUI.update(Graphics g, JComponent c)
    必要に応じて、コンポーネントのバックグラウンドをペイントしてから、paintを呼び出します。
  • javax.swing.plaf.multiでのGraphicsの使用

    Graphics型のパラメータを持つjavax.swing.plaf.multiのメソッド
    修飾子と型
    メソッド
    説明
    void
    このオブジェクトで処理されている各UIでfinishedPaintingChildrenメソッドを呼び出します。
    void
    MultiButtonUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiColorChooserUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiComboBoxUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiDesktopIconUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiDesktopPaneUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiFileChooserUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiInternalFrameUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiLabelUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiListUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiMenuBarUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiMenuItemUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiOptionPaneUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiPanelUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiPopupMenuUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiProgressBarUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiRootPaneUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiScrollBarUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiScrollPaneUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiSeparatorUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiSliderUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiSpinnerUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiSplitPaneUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiTabbedPaneUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiTableHeaderUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiTableUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiTextUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiToolBarUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiToolTipUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiTreeUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiViewportUI.paint(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでpaintメソッドを呼び出します。
    void
    MultiButtonUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiColorChooserUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiComboBoxUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiDesktopIconUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiDesktopPaneUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiFileChooserUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiInternalFrameUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiLabelUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiListUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiMenuBarUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiMenuItemUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiOptionPaneUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiPanelUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiPopupMenuUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiProgressBarUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiRootPaneUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiScrollBarUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiScrollPaneUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiSeparatorUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiSliderUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiSpinnerUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiSplitPaneUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiTabbedPaneUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiTableHeaderUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiTableUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiTextUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiToolBarUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiToolTipUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiTreeUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
    void
    MultiViewportUI.update(Graphics a, JComponent b)
    このオブジェクトで処理されている各UIでupdateメソッドを呼び出します。
  • javax.swing.plaf.synthでのGraphicsの使用

    Graphics型のパラメータを持つjavax.swing.plaf.synthのメソッド
    修飾子と型
    メソッド
    説明
    void
    SynthGraphicsUtils.drawLine(SynthContext context, Object paintKey, Graphics g, int x1, int y1, int x2, int y2)
    2つの端点の間に線を描きます。
    void
    SynthGraphicsUtils.drawLine(SynthContext context, Object paintKey, Graphics g, int x1, int y1, int x2, int y2, Object styleKey)
    2つの端点の間に線を描きます。
    void
    SynthButtonUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthButtonUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthColorChooserUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthColorChooserUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthComboBoxUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthComboBoxUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthDesktopIconUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthDesktopIconUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthDesktopPaneUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthDesktopPaneUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    protected void
    SynthEditorPaneUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthInternalFrameUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthInternalFrameUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthLabelUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthLabelUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthMenuBarUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthMenuBarUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthMenuItemUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthMenuItemUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthMenuUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthMenuUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthOptionPaneUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthOptionPaneUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthPanelUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthPanelUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthPopupMenuUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthPopupMenuUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthProgressBarUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthProgressBarUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthRootPaneUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthRootPaneUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthScrollBarUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthScrollBarUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthScrollPaneUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthScrollPaneUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthSeparatorUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthSeparatorUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthSliderUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthSliderUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthSpinnerUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthSpinnerUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthSplitPaneUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthSplitPaneUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthTabbedPaneUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthTabbedPaneUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthTableHeaderUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthTableHeaderUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthTableUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthTableUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    protected void
    SynthTextAreaUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    protected void
    SynthTextFieldUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthToolBarUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthToolBarUI.paint(SynthContext context, Graphics g)
    ツールバーをペイントします。
    void
    SynthToolTipUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthToolTipUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthTreeUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthTreeUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthViewportUI.paint(Graphics g, JComponent c)
    Look & Feelに従って、指定されたコンポーネントをペイントします。
    protected void
    SynthViewportUI.paint(SynthContext context, Graphics g)
    指定されたコンポーネントをペイントします。
    void
    SynthPainter.paintArrowButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    矢印ボタンのバックグラウンドをペイントします。
    void
    SynthPainter.paintArrowButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    矢印ボタンのボーダーをペイントします。
    void
    SynthPainter.paintArrowButtonForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int direction)
    矢印ボタンのフォアグラウンドをペイントします。
    protected void
    SynthTextAreaUI.paintBackground(Graphics g)
    ビューのバックグラウンドをペイントします。
    protected void
    SynthTextFieldUI.paintBackground(Graphics g)
    ビューのバックグラウンドをペイントします。
    void
    SynthButtonUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthColorChooserUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthComboBoxUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthDesktopIconUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthDesktopPaneUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthEditorPaneUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthInternalFrameUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthLabelUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthListUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthMenuBarUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthMenuItemUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthMenuUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthOptionPaneUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthPanelUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthPopupMenuUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthProgressBarUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthRootPaneUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthScrollBarUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthScrollPaneUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthSeparatorUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthSliderUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthSpinnerUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthSplitPaneUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthTabbedPaneUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthTableHeaderUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthTableUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthTextAreaUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthTextFieldUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthToolBarUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthToolTipUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthTreeUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthViewportUI.paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボーダーをペイントします。
    void
    SynthPainter.paintButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボタンのバックグラウンドをペイントします。
    void
    SynthPainter.paintButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ボタンのボーダーをペイントします。
    void
    SynthPainter.paintCheckBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    チェックボックスのバックグラウンドをペイントします。
    void
    SynthPainter.paintCheckBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    チェックボックスのボーダーをペイントします。
    void
    SynthPainter.paintCheckBoxMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    チェックボックスのメニュー項目のバックグラウンドをペイントします。
    void
    SynthPainter.paintCheckBoxMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    チェックボックスのメニュー項目のボーダーをペイントします。
    void
    SynthPainter.paintColorChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    カラー・チューザのバックグラウンドをペイントします。
    void
    SynthPainter.paintColorChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    カラー・チューザのボーダーをペイントします。
    void
    SynthPainter.paintComboBoxBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    コンボボックスのバックグラウンドをペイントします。
    void
    SynthPainter.paintComboBoxBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    コンボボックスのボーダーをペイントします。
    protected void
    SynthToolBarUI.paintContent(SynthContext context, Graphics g, Rectangle bounds)
    ツールバーの内容をペイントします。
    void
    SynthComboBoxUI.paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus)
    現在選択されている項目をペイントします。
    void
    SynthPainter.paintDesktopIconBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    デスクトップ・アイコンのバックグラウンドをペイントします。
    void
    SynthPainter.paintDesktopIconBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    デスクトップ・アイコンのボーダーをペイントします。
    void
    SynthPainter.paintDesktopPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    デスクトップ・ペインのバックグラウンドをペイントします。
    void
    SynthPainter.paintDesktopPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    デスクトップ・ペインのバックグラウンドをペイントします。
    void
    SynthPainter.paintEditorPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    エディタ・ペインのバックグラウンドをペイントします。
    void
    SynthPainter.paintEditorPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    エディタ・ペインのボーダーをペイントします。
    void
    SynthPainter.paintFileChooserBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ファイル・チューザのバックグラウンドをペイントします。
    void
    SynthPainter.paintFileChooserBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ファイル・チューザのボーダーをペイントします。
    void
    SynthPainter.paintFormattedTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    書式付きテキスト・フィールドのバックグラウンドをペイントします。
    void
    SynthPainter.paintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    書式付きテキスト・フィールドのボーダーをペイントします。
    static void
    SynthGraphicsUtils.paintIcon(Icon icon, SynthContext context, Graphics g, int x, int y, int width, int height)
    アイコンをペイントします。
    default void
    SynthIcon.paintIcon(Component c, Graphics g, int x, int y)
     
    void
    SynthIcon.paintIcon(SynthContext context, Graphics g, int x, int y, int width, int height)
    指定されたsynthコンテキストのアイコンを、指定されたロケーションにペイントします。
    void
    SynthPainter.paintInternalFrameBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    内部フレームのバックグラウンドをペイントします。
    void
    SynthPainter.paintInternalFrameBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    内部フレームのボーダーをペイントします。
    void
    SynthPainter.paintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    内部フレームのタイトル・ペインのバックグラウンドをペイントします。
    void
    SynthPainter.paintInternalFrameTitlePaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    内部フレームのタイトル・ペインのボーダーをペイントします。
    void
    SynthPainter.paintLabelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ラベルのバックグラウンドをペイントします。
    void
    SynthPainter.paintLabelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ラベルのボーダーをペイントします。
    void
    SynthPainter.paintListBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    リストのバックグラウンドをペイントします。
    void
    SynthPainter.paintListBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    リストのボーダーをペイントします。
    void
    SynthPainter.paintMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    メニューのバックグラウンドをペイントします。
    void
    SynthPainter.paintMenuBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    メニュー・バーのバックグラウンドをペイントします。
    void
    SynthPainter.paintMenuBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    メニュー・バーのボーダーをペイントします。
    void
    SynthPainter.paintMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    メニューのボーダーをペイントします。
    void
    SynthPainter.paintMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    メニュー項目のバックグラウンドをペイントします。
    void
    SynthPainter.paintMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    メニュー項目のボーダーをペイントします。
    void
    SynthPainter.paintOptionPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    オプション・ペインのバックグラウンドをペイントします。
    void
    SynthPainter.paintOptionPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    オプション・ペインのボーダーをペイントします。
    void
    SynthPainter.paintPanelBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    パネルのバックグラウンドをペイントします。
    void
    SynthPainter.paintPanelBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    パネルのボーダーをペイントします。
    void
    SynthPainter.paintPasswordFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    パスワード・フィールドのバックグラウンドをペイントします。
    void
    SynthPainter.paintPasswordFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    パスワード・フィールドのボーダーをペイントします。
    void
    SynthPainter.paintPopupMenuBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ポップアップ・メニューのバックグラウンドをペイントします。
    void
    SynthPainter.paintPopupMenuBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ポップアップ・メニューのボーダーをペイントします。
    void
    SynthPainter.paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    進捗バーのバックグラウンドをペイントします。
    void
    SynthPainter.paintProgressBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    進捗バーのバックグラウンドをペイントします。
    void
    SynthPainter.paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    進捗バーのボーダーをペイントします。
    void
    SynthPainter.paintProgressBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    進捗バーのボーダーをペイントします。
    void
    SynthPainter.paintProgressBarForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    進捗バーのフォアグラウンドをペイントします。また、進捗バーの進捗状況を示します。
    void
    SynthPainter.paintRadioButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ラジオ・ボタンのバックグラウンドをペイントします。
    void
    SynthPainter.paintRadioButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ラジオ・ボタンのボーダーをペイントします。
    void
    SynthPainter.paintRadioButtonMenuItemBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ラジオ・ボタンのメニュー項目のバックグラウンドをペイントします。
    void
    SynthPainter.paintRadioButtonMenuItemBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ラジオ・ボタンのメニュー項目のボーダーをペイントします。
    void
    SynthPainter.paintRootPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ルート・ペインのバックグラウンドをペイントします。
    void
    SynthPainter.paintRootPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ルート・ペインのボーダーをペイントします。
    void
    SynthPainter.paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    スクロール・バーのバックグラウンドをペイントします。
    void
    SynthPainter.paintScrollBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スクロール・バーのバックグラウンドをペイントします。
    void
    SynthPainter.paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    スクロール・バーのボーダーをペイントします。
    void
    SynthPainter.paintScrollBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スクロール・バーのボーダーをペイントします。
    void
    SynthPainter.paintScrollBarThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スクロール・バーのつまみのバックグラウンドをペイントします。
    void
    SynthPainter.paintScrollBarThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スクロール・バーのつまみのボーダーをペイントします。
    void
    SynthPainter.paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    スクロール・バーのトラックのバックグラウンドをペイントします。
    void
    SynthPainter.paintScrollBarTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スクロール・バーのトラックのバックグラウンドをペイントします。
    void
    SynthPainter.paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    スクロール・バーのトラックのボーダーをペイントします。
    void
    SynthPainter.paintScrollBarTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スクロール・バーのトラックのボーダーをペイントします。
    void
    SynthPainter.paintScrollPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    スクロール・ペインのバックグラウンドをペイントします。
    void
    SynthPainter.paintScrollPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    スクロール・ペインのボーダーをペイントします。
    void
    SynthPainter.paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    セパレータのバックグラウンドをペイントします。
    void
    SynthPainter.paintSeparatorBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    セパレータのバックグラウンドをペイントします。
    void
    SynthPainter.paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    セパレータのボーダーをペイントします。
    void
    SynthPainter.paintSeparatorBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    セパレータのボーダーをペイントします。
    void
    SynthPainter.paintSeparatorForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    セパレータのフォアグラウンドをペイントします。
    void
    SynthPainter.paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    スライダのバックグラウンドをペイントします。
    void
    SynthPainter.paintSliderBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スライダのバックグラウンドをペイントします。
    void
    SynthPainter.paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    スライダのボーダーをペイントします。
    void
    SynthPainter.paintSliderBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スライダのボーダーをペイントします。
    void
    SynthPainter.paintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スライダのつまみのバックグラウンドをペイントします。
    void
    SynthPainter.paintSliderThumbBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スライダのつまみのボーダーをペイントします。
    void
    SynthPainter.paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    スライダのトラックのバックグラウンドをペイントします。
    void
    SynthPainter.paintSliderTrackBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スライダのトラックのバックグラウンドをペイントします。
    void
    SynthPainter.paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    スライダのトラックのボーダーをペイントします。
    void
    SynthPainter.paintSliderTrackBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    スライダのトラックのボーダーをペイントします。
    void
    SynthPainter.paintSpinnerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    スピナーのバックグラウンドをペイントします。
    void
    SynthPainter.paintSpinnerBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    スピナーのボーダーをペイントします。
    void
    SynthPainter.paintSplitPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    分割ペインのバックグラウンドをペイントします。
    void
    SynthPainter.paintSplitPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    分割ペインのボーダーをペイントします。
    void
    SynthPainter.paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    分割ペインのディバイダのバックグラウンドをペイントします。
    void
    SynthPainter.paintSplitPaneDividerBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    分割ペインのディバイダのバックグラウンドをペイントします。
    void
    SynthPainter.paintSplitPaneDividerForeground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    分割ペインのディバイダのフォアグラウンドをペイントします。
    void
    SynthPainter.paintSplitPaneDragDivider(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    ユーザーが分割ペインのディバイダをドラッグしているときにディバイダをペイントします。
    void
    SynthPainter.paintTabbedPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    タブ・ペインのバックグラウンドをペイントします。
    void
    SynthPainter.paintTabbedPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    タブ・ペインのボーダーをペイントします。
    void
    SynthPainter.paintTabbedPaneContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    選択されたタブ・ペインのタブの内容が格納されている領域のバックグラウンドをペイントします。
    void
    SynthPainter.paintTabbedPaneContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    選択されたタブ・ペインのタブの内容が格納されている領域のボーダーをペイントします。
    void
    SynthPainter.paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    タブ・ペインのタブの背後にある領域のバックグラウンドをペイントします。
    void
    SynthPainter.paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    タブ・ペインのタブの背後にある領域のバックグラウンドをペイントします。
    void
    SynthPainter.paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    タブ・ペインのタブの背後にある領域のボーダーをペイントします。
    void
    SynthPainter.paintTabbedPaneTabAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    タブ・ペインのタブの背後にある領域のボーダーをペイントします。
    void
    SynthPainter.paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)
    タブ・ペインのタブのバックグラウンドをペイントします。
    void
    SynthPainter.paintTabbedPaneTabBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)
    タブ・ペインのタブのバックグラウンドをペイントします。
    void
    SynthPainter.paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex)
    タブ・ペインのタブのボーダーをペイントします。
    void
    SynthPainter.paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation)
    タブ・ペインのタブのボーダーをペイントします。
    void
    SynthPainter.paintTableBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    テーブルのバックグラウンドをペイントします。
    void
    SynthPainter.paintTableBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    テーブルのボーダーをペイントします。
    void
    SynthPainter.paintTableHeaderBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    テーブルのヘッダーのバックグラウンドをペイントします。
    void
    SynthPainter.paintTableHeaderBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    テーブルのヘッダーのボーダーをペイントします。
    void
    SynthGraphicsUtils.paintText(SynthContext ss, Graphics g, String text, int x, int y, int mnemonicIndex)
    指定された位置にテキストをペイントします。
    void
    SynthGraphicsUtils.paintText(SynthContext ss, Graphics g, String text, Rectangle bounds, int mnemonicIndex)
    指定された位置にテキストをペイントします。
    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)
    アイコンとテキストをペイントします。
    protected void
    SynthProgressBarUI.paintText(SynthContext context, Graphics g, String title)
    コンポーネントのテキストをペイントします。
    void
    SynthPainter.paintTextAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    テキスト領域のバックグラウンドをペイントします。
    void
    SynthPainter.paintTextAreaBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    テキスト領域のボーダーをペイントします。
    void
    SynthPainter.paintTextFieldBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    テキスト・フィールドのバックグラウンドをペイントします。
    void
    SynthPainter.paintTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    テキスト・フィールドのボーダーをペイントします。
    void
    SynthPainter.paintTextPaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    テキスト・ペインのバックグラウンドをペイントします。
    void
    SynthPainter.paintTextPaneBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    テキスト・ペインのボーダーをペイントします。
    protected void
    SynthScrollBarUI.paintThumb(SynthContext context, Graphics g, Rectangle thumbBounds)
    スクロール・バーのつまみをペイントします。
    protected void
    SynthSliderUI.paintThumb(SynthContext context, Graphics g, Rectangle thumbBounds)
    スライダのつまみをペイントします。
    void
    SynthPainter.paintToggleButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    トグル・ボタンのバックグラウンドをペイントします。
    void
    SynthPainter.paintToggleButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    トグル・ボタンのボーダーをペイントします。
    void
    SynthPainter.paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツールバーのバックグラウンドをペイントします。
    void
    SynthPainter.paintToolBarBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    ツールバーのバックグラウンドをペイントします。
    void
    SynthPainter.paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツールバーのボーダーをペイントします。
    void
    SynthPainter.paintToolBarBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    ツールバーのボーダーをペイントします。
    void
    SynthPainter.paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツールバーの内容領域のバックグラウンドをペイントします。
    void
    SynthPainter.paintToolBarContentBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    ツールバーの内容領域のバックグラウンドをペイントします。
    void
    SynthPainter.paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツールバーの内容領域のボーダーをペイントします。
    void
    SynthPainter.paintToolBarContentBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    ツールバーの内容領域のボーダーをペイントします。
    void
    SynthPainter.paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツールバーがそのプライマリ・フレームから切り離されたときに、ツールバーが格納されているウィンドウのバックグラウンドをペイントします。
    void
    SynthPainter.paintToolBarDragWindowBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    ツールバーがそのプライマリ・フレームから切り離されたときに、ツールバーが格納されているウィンドウのバックグラウンドをペイントします。
    void
    SynthPainter.paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツールバーがそのプライマリ・フレームから切り離されたときに、ツールバーが格納されているウィンドウのボーダーをペイントします。
    void
    SynthPainter.paintToolBarDragWindowBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation)
    ツールバーがそのプライマリ・フレームから切り離されたときに、ツールバーが格納されているウィンドウのボーダーをペイントします。
    void
    SynthPainter.paintToolTipBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツールヒントのバックグラウンドをペイントします。
    void
    SynthPainter.paintToolTipBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツールヒントのボーダーをペイントします。
    protected void
    SynthScrollBarUI.paintTrack(SynthContext context, Graphics g, Rectangle trackBounds)
    スクロール・バーのトラックをペイントします。
    protected void
    SynthSliderUI.paintTrack(SynthContext context, Graphics g, Rectangle trackBounds)
    スライダのトラックをペイントします。
    void
    SynthPainter.paintTreeBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツリーのバックグラウンドをペイントします。
    void
    SynthPainter.paintTreeBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツリーのボーダーをペイントします。
    void
    SynthPainter.paintTreeCellBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツリー内のセルが格納されている行のバックグラウンドをペイントします。
    void
    SynthPainter.paintTreeCellBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツリー内のセルが格納されている行のボーダーをペイントします。
    void
    SynthPainter.paintTreeCellFocus(SynthContext context, Graphics g, int x, int y, int w, int h)
    ツリー内のセルにフォーカスがあるときに、セルのフォーカス・インジケータをペイントします。
    void
    SynthPainter.paintViewportBackground(SynthContext context, Graphics g, int x, int y, int w, int h)
    ビュー・ポートのバックグラウンドをペイントします。
    void
    SynthPainter.paintViewportBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
    ビュー・ポートのボーダーをペイントします。
    void
    SynthButtonUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthColorChooserUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthComboBoxUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthDesktopIconUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthDesktopPaneUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthEditorPaneUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthInternalFrameUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthLabelUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthListUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthMenuBarUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthMenuItemUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthMenuUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthOptionPaneUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthPanelUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthPopupMenuUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthProgressBarUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthRootPaneUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthScrollBarUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthScrollPaneUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthSeparatorUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthSliderUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthSpinnerUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthSplitPaneUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthTabbedPaneUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthTableHeaderUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthTableUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthTextAreaUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthTextFieldUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthToolBarUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthToolTipUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthTreeUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
    void
    SynthViewportUI.update(Graphics g, JComponent c)
    このUI委譲に、指定されたコンポーネントを再ペイントするよう通知します。
  • javax.swing.textでのGraphicsの使用

    Graphicsを返すjavax.swing.textのメソッド
    修飾子と型
    メソッド
    説明
    レンダリングのためのGraphicsを取得します。
    Graphics型のパラメータを持つjavax.swing.textのメソッド
    修飾子と型
    メソッド
    説明
    protected int
    PasswordView.drawEchoCharacter(Graphics g, int x, int y, char c)
    非推奨。
    protected void
    PlainView.drawLine(int lineIndex, Graphics g, int x, int y)
    非推奨。
    protected void
    WrappedPlainView.drawLine(int p0, int p1, Graphics g, int x, int y)
    非推奨。
    protected int
    PasswordView.drawSelectedText(Graphics g, int x, int y, int p0, int p1)
    非推奨。
    protected int
    PlainView.drawSelectedText(Graphics g, int x, int y, int p0, int p1)
    非推奨。
    protected int
    WrappedPlainView.drawSelectedText(Graphics g, int x, int y, int p0, int p1)
    static final int
    Utilities.drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset)
    protected int
    PasswordView.drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
    非推奨。
    protected int
    PlainView.drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
    非推奨。
    protected int
    WrappedPlainView.drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
    void
    AsyncBoxView.paint(Graphics g, Shape alloc)
    指定された割当ておよびレンダリング表面を使って、ビューをレンダリングします。
    void
    BoxView.paint(Graphics g, Shape allocation)
    特定のレンダリング表面とその表面上の領域を使用してBoxViewをレンダリングします。
    void
    Caret.paint(Graphics g)
    キャレットをレンダリングします。
    void
    ComponentView.paint(Graphics g, Shape a)
    実際のペイントの動作は通常、コンポーネントがその親コンテナ(このビューを収容するコンテナ)との関連付けから発生します。
    void
    DefaultCaret.paint(Graphics g)
    キャレットを垂直線としてレンダリングします。
    void
    DefaultHighlighter.DefaultHighlightPainter.paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c)
    ハイライトをペイントします。
    void
    DefaultHighlighter.paint(Graphics g)
    ハイライトをレンダリングします。
    void
    FieldView.paint(Graphics g, Shape a)
    指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。
    abstract void
    GlyphView.GlyphPainter.paint(GlyphView v, Graphics g, Shape a, int p0, int p1)
    指定された範囲を表すグリフをペイントします。
    void
    GlyphView.paint(Graphics g, Shape a)
    一連のテキスト・スタイルの一部をレンダリングします。
    void
    Highlighter.HighlightPainter.paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)
    ハイライトをレンダリングします。
    void
    Highlighter.paint(Graphics g)
    ハイライトをレンダリングします。
    void
    IconView.paint(Graphics g, Shape a)
    アイコンをペイントします。
    void
    ParagraphView.paint(Graphics g, Shape a)
    指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。
    void
    PlainView.paint(Graphics g, Shape a)
    指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。
    abstract void
    View.paint(Graphics g, Shape allocation)
    指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。
    void
    WrappedPlainView.paint(Graphics g, Shape a)
    指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。
    protected void
    BoxView.paintChild(Graphics g, Rectangle alloc, int index)
    子をペイントします。
    void
    AsyncBoxView.ChildLocator.paintChildren(Graphics g)
    クリップ領域を交差する子をペイントします。
    DefaultHighlighter.DefaultHighlightPainter.paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view)
    ハイライトの一部分をペイントします。
    abstract Shape
    LayeredHighlighter.LayerPainter.paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
     
    void
    DefaultHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
    このメソッドは、葉View (LabelViewなど)のレンダリング中に呼び出されます。
    abstract void
    LayeredHighlighter.paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
    このメソッドは、葉View (LabelViewなど)のレンダリング中に呼び出されます。
  • javax.swing.text.htmlでのGraphicsの使用

    Graphics型のパラメータを持つjavax.swing.text.htmlのメソッド
    修飾子と型
    メソッド
    説明
    void
    BlockView.paint(Graphics g, Shape allocation)
    指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。
    void
    ImageView.paint(Graphics g, Shape a)
    Viewをペイントします。
    void
    ListView.paint(Graphics g, Shape allocation)
    指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。
    void
    ParagraphView.paint(Graphics g, Shape a)
    指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。
    void
    StyleSheet.BoxPainter.paint(Graphics g, float x, float y, float w, float h, View v)
    指定された属性に従ってCSSボックスをペイントします。
    void
    StyleSheet.ListPainter.paint(Graphics g, float x, float y, float w, float h, View v, int item)
    指定された属性に従ってCSSリスト修飾をペイントします。
    protected void
    ListView.paintChild(Graphics g, Rectangle alloc, int index)
    子の1つをペイントします。paint()で呼び出されます。
  • javax.swing.treeでのGraphicsの使用

    Graphics型のパラメータを持つjavax.swing.treeのメソッド
    修飾子と型
    メソッド
    説明
    void
    DefaultTreeCellEditor.EditorContainer.paint(Graphics g)
    Container.paintをオーバーライドして、ノードのアイコンをペイントし、バックグラウンド・カラーに選択色を使用します。
    void
    DefaultTreeCellRenderer.paint(Graphics g)
    値をペイントします。