KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > border > BevelBorder

javax.swing.border
Class BevelBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.BevelBorder
All Implemented Interfaces:
Serializable, Border
Direct Known Subclasses:
BorderUIResource.BevelBorderUIResource, SoftBevelBorder
See Also:
Top Examples, Source Code, XMLEncoder

public BevelBorder(int bevelType)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public BevelBorder(int bevelType,
                   Color highlight,
                   Color shadow)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public BevelBorder(int bevelType,
                   Color highlightOuterColor,
                   Color highlightInnerColor,
                   Color shadowOuterColor,
                   Color shadowInnerColor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int bevelType
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getBevelType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Insets getBorderInsets(Component c)
See Also:
AbstractBorder, Border
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Insets getBorderInsets(Component c,
                              Insets insets)
See Also:
AbstractBorder
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getHighlightInnerColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getHighlightInnerColor(Component c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getHighlightOuterColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getHighlightOuterColor(Component c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getShadowInnerColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getShadowInnerColor(Component c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getShadowOuterColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getShadowOuterColor(Component c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color highlightInner
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color highlightOuter
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isBorderOpaque()
See Also:
AbstractBorder, Border
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int LOWERED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[1604]Change border and font of JList
By Anonymous on 2005/11/05 15:35:08  Rate
JList result = new JList  ( new DefaultListModel  (  )  ) ; 
 result.setFont  ( new Font  ( "Arial", Font.PLAIN, 12 )  ) ; 
 result.setBorder  ( BorderFactory.createBevelBorder ( javax.swing.border.BevelBorder.LOWERED )  ) ;


public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
See Also:
AbstractBorder, Border
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintLoweredBevel(Component c,
                                 Graphics g,
                                 int x,
                                 int y,
                                 int width,
                                 int height)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintRaisedBevel(Component c,
                                Graphics g,
                                int x,
                                int y,
                                int width,
                                int height)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int RAISED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color shadowInner
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color shadowOuter
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags