java box

public class Box
extends JComponent
implements Accesible

method

static Component createGlue()

static Component createRigidArea(Dimendion d)

static Box createHorizontalBox()

  • 横に並べる

static Component createHorizontalGlue()

  • 横のぐるー

static Component createHorizontalStrut(int w)

  • 横の固定幅


static Box createVerticalBox()

static Component createVerticalGlue()

static Component createVerticalStrut(int h)


AccessibleContext getAccesibleContext()

protected void paintComponent(Graphics g)

void setLayout(LayoutManager I)

  • BoxはBoxLayoutしか使わないのでAWTErrorをthrowする


public void setBorder(Border border) from JComponent

public class LineBoder extends AbstractBorder

  • LineBorder(Color c)
  • LineBorder(Color c, int thick)
  • LineBorder(Color c, int thick,boolean roundedCorners)
  • static Border createBlackLineBorder()
  • static Border createGlayLineBorder()

public abstract class AbstractBorder extends Object implements Boder,Serializable