|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectglass.eclipse.theme.utils.COutlineHelper
public class COutlineHelper
COutlineHelper.java Creates the basic shapes for the tab painter. Thomas Hilbert 02.03.2010
Field Summary | |
---|---|
static AffineTransform |
atRot90SclX
|
static AffineTransform |
tRot90CCW
|
static AffineTransform |
tRot90CW
|
static AffineTransform |
tSclY
|
Constructor Summary | |
---|---|
COutlineHelper()
|
Method Summary | |
---|---|
static Shape |
CreateSelectedTabShape(int cornerRadius,
int w,
int h,
boolean firstTab)
Creates the selected tab shape with round edge at left and curve at right side. |
static Shape |
CreateUnselectedTabShape(int cornerRadius,
int w,
int h,
boolean firstTab,
boolean forClip,
boolean beforeSelected)
Creates the shape of an unselected tab for clipping and for border painting. |
static Shape |
Modify4BottomSide(Shape src)
Modifies the shape for bottom side. |
static Shape |
Modify4LeftSide(Shape src)
Modifies the shape for left side. |
static Shape |
Modify4RightSide(Shape src)
Modifies the shape for right side. |
static Shape |
TranslateShapeTo(int x,
int y,
Shape s)
Translates the specified shape. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static AffineTransform tRot90CW
public static AffineTransform tRot90CCW
public static AffineTransform atRot90SclX
public static AffineTransform tSclY
Constructor Detail |
---|
public COutlineHelper()
Method Detail |
---|
public static Shape CreateSelectedTabShape(int cornerRadius, int w, int h, boolean firstTab)
cornerRadius
- w
- h
- firstTab
- Shape without the left edge and rounded corner (if true)
public static Shape CreateUnselectedTabShape(int cornerRadius, int w, int h, boolean firstTab, boolean forClip, boolean beforeSelected)
w
- h
- firstTab
- forClip
- beforeSelected
-
public static Shape TranslateShapeTo(int x, int y, Shape s)
x
- Distance on x-axis to translate.y
- Distance on y-axis to translate.s
-
public static Shape Modify4LeftSide(Shape src)
src
- The top side shape.
public static Shape Modify4RightSide(Shape src)
src
- The top side shape.
public static Shape Modify4BottomSide(Shape src)
src
- The top side shape.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |