|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.awt.TexturePaint
|
+--net.sourceforge.ganttproject.shape.ShapePaint
| Field Summary | |
protected int[] |
array
|
protected java.awt.Color |
background
|
protected java.awt.Color |
foreground
|
protected int |
height
|
protected int |
width
|
| Fields inherited from interface java.awt.Transparency |
BITMASK, OPAQUE, TRANSLUCENT |
| Constructor Summary | |
ShapePaint(int width,
int height,
int[] array)
Constructor |
|
ShapePaint(int width,
int height,
int[] array,
java.awt.Color foreground,
java.awt.Color background)
Constructor |
|
ShapePaint(ShapePaint pattern)
Constructor |
|
ShapePaint(ShapePaint pattern,
java.awt.Color foreground,
java.awt.Color background)
Constructor |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Return true if the two shape are the same |
int[] |
getarray()
Return the array of the shape |
java.lang.String |
getArray()
Return the array of the shape on a string |
java.lang.String |
toString()
Return a string for the shape |
java.lang.String |
toString2()
Just for debug |
| Methods inherited from class java.awt.TexturePaint |
createContext, getAnchorRect, getImage, getTransparency |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int width
protected int height
protected int[] array
protected java.awt.Color foreground
protected java.awt.Color background
| Constructor Detail |
public ShapePaint(ShapePaint pattern)
public ShapePaint(ShapePaint pattern,
java.awt.Color foreground,
java.awt.Color background)
public ShapePaint(int width,
int height,
int[] array)
public ShapePaint(int width,
int height,
int[] array,
java.awt.Color foreground,
java.awt.Color background)
| Method Detail |
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString2()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getArray()
public int[] getarray()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||