to.tetramorph.starbase.widget
クラス SingleSideBorder

java.lang.Object
  上位を拡張 javax.swing.border.AbstractBorder
      上位を拡張 javax.swing.border.EtchedBorder
          上位を拡張 to.tetramorph.starbase.widget.SingleSideBorder
すべての実装されたインタフェース:
Serializable, Border

public class SingleSideBorder
extends EtchedBorder

ボーダーは通常矩形を囲むように描画されるが、これは矩形の上の線だけを描画する。

関連項目:
直列化された形式

フィールドの概要
static int LEFT
          矩形の左方にエッチング線を引く。
static int TOP
          矩形の上方にエッチング線を引く。
 
クラス javax.swing.border.EtchedBorder から継承されたフィールド
etchType, highlight, LOWERED, RAISED, shadow
 
コンストラクタの概要
SingleSideBorder(int orientation)
          SingleSideBorder オブジェクトを作成する
 
メソッドの概要
 void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 
クラス javax.swing.border.EtchedBorder から継承されたメソッド
getBorderInsets, getBorderInsets, getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque
 
クラス javax.swing.border.AbstractBorder から継承されたメソッド
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

TOP

public static final int TOP
矩形の上方にエッチング線を引く。

関連項目:
定数フィールド値

LEFT

public static final int LEFT
矩形の左方にエッチング線を引く。

関連項目:
定数フィールド値
コンストラクタの詳細

SingleSideBorder

public SingleSideBorder(int orientation)
SingleSideBorder オブジェクトを作成する

パラメータ:
orientation - LEFT,TOPのいずれか。
メソッドの詳細

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
定義:
インタフェース Border 内の paintBorder
オーバーライド:
クラス EtchedBorder 内の paintBorder