net.infonode.tabbedpanel.theme
Class ShapedGradientTheme.TabBorder

java.lang.Object
  extended by net.infonode.gui.shaped.border.AbstractShapedBorder
      extended by net.infonode.gui.shaped.border.AbstractPolygonBorder
          extended by net.infonode.tabbedpanel.internal.SlopedTabLineBorder
              extended by net.infonode.tabbedpanel.theme.ShapedGradientTheme.TabBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border, ShapedBorder
Enclosing class:
ShapedGradientTheme

private static class ShapedGradientTheme.TabBorder
extends SlopedTabLineBorder


Field Summary
private  boolean bottomLeftRounded
           
private  int cornerInset
           
private  boolean hasLeftSlope
           
private  boolean isNormal
           
private  int raised
           
 
Constructor Summary
ShapedGradientTheme.TabBorder(ColorProvider lineColor, ColorProvider highlightColor, float leftSlope, float rightSlope, int leftHeight, int rightHeight, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded, boolean isNormal, boolean highlightBottomLeftRounded, int raised)
           
 
Method Summary
protected  java.awt.Polygon createPolygon(java.awt.Component c, int width, int height)
           
protected  java.awt.Insets getShapedBorderInsets(java.awt.Component c)
           
protected  boolean isBottomLeftRounded(java.awt.Component c)
           
private  boolean isFirst(java.awt.Component c)
           
 
Methods inherited from class net.infonode.tabbedpanel.internal.SlopedTabLineBorder
lineIsDrawn
 
Methods inherited from class net.infonode.gui.shaped.border.AbstractPolygonBorder
getBorderInsets, getHighlightOffsetX, getHighlightOffsetY, getShape, getShapedBorderHighlightInsets, isBorderOpaque, isHighlightable, isPointsClockwise, paintBorder, paintHighlight, paintPolygon, setPoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bottomLeftRounded

private boolean bottomLeftRounded

isNormal

private boolean isNormal

hasLeftSlope

private boolean hasLeftSlope

raised

private int raised

cornerInset

private int cornerInset
Constructor Detail

ShapedGradientTheme.TabBorder

ShapedGradientTheme.TabBorder(ColorProvider lineColor,
                              ColorProvider highlightColor,
                              float leftSlope,
                              float rightSlope,
                              int leftHeight,
                              int rightHeight,
                              boolean bottomLeftRounded,
                              boolean topLeftRounded,
                              boolean topRightRounded,
                              boolean bottomRightRounded,
                              boolean isNormal,
                              boolean highlightBottomLeftRounded,
                              int raised)
Method Detail

createPolygon

protected java.awt.Polygon createPolygon(java.awt.Component c,
                                         int width,
                                         int height)
Overrides:
createPolygon in class SlopedTabLineBorder

getShapedBorderInsets

protected java.awt.Insets getShapedBorderInsets(java.awt.Component c)
Overrides:
getShapedBorderInsets in class SlopedTabLineBorder

isFirst

private boolean isFirst(java.awt.Component c)

isBottomLeftRounded

protected boolean isBottomLeftRounded(java.awt.Component c)
Overrides:
isBottomLeftRounded in class SlopedTabLineBorder