|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Graphics
|
+--voji.utils.CopyGraphics
This class redirects all functions to one or more specified
Graphics objects.
| Constructor Summary | |
CopyGraphics()
Creates a new empty instance of CopyGraphics |
|
CopyGraphics(java.awt.Graphics g)
Creates a new empty instance of CopyGraphics
containing the given sub Graphics object |
|
CopyGraphics(java.awt.Graphics[] g)
Creates a new instance of CopyGraphics
containing the given sub Graphics objects |
|
| Method Summary | |
void |
addGraphics(java.awt.Graphics g)
Adds a sub Graphics object |
void |
addGraphics(java.awt.Graphics[] g)
Adds some sub Graphics objects |
void |
clearRect(int x,
int y,
int width,
int height)
Redirects to clearRect of the registered
Graphics objects |
void |
clipRect(int x,
int y,
int width,
int height)
Redirects to clipRect of the registered
Graphics objects |
void |
copyArea(int x,
int y,
int width,
int height,
int dx,
int dy)
Redirects to copyArea of the registered
Graphics objects |
java.awt.Graphics |
create()
Creates a new CopyGraphics instance
containing copies of all sub Graphics objects |
void |
dispose()
Redirects to dispose of the registered
Graphics objects |
void |
drawArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
Redirects to drawArc of the registered
Graphics objects |
boolean |
drawImage(java.awt.Image img,
int x,
int y,
java.awt.Color bgcolor,
java.awt.image.ImageObserver observer)
Redirects to drawImage of the registered
Graphics objects |
boolean |
drawImage(java.awt.Image img,
int x,
int y,
java.awt.image.ImageObserver observer)
Redirects to drawImage of the registered
Graphics objects |
boolean |
drawImage(java.awt.Image img,
int x,
int y,
int width,
int height,
java.awt.Color bgcolor,
java.awt.image.ImageObserver observer)
Redirects to drawImage of the registered
Graphics objects |
boolean |
drawImage(java.awt.Image img,
int x,
int y,
int width,
int height,
java.awt.image.ImageObserver observer)
Redirects to drawImage of the registered
Graphics objects |
boolean |
drawImage(java.awt.Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
java.awt.Color bgcolor,
java.awt.image.ImageObserver observer)
Redirects to drawImage of the registered
Graphics objects |
boolean |
drawImage(java.awt.Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
java.awt.image.ImageObserver observer)
Redirects to drawImage of the registered
Graphics objects |
void |
drawLine(int x1,
int y1,
int x2,
int y2)
Redirects to drawLine of the registered
Graphics objects |
void |
drawOval(int x,
int y,
int width,
int height)
Redirects to drawOval of the registered
Graphics objects |
void |
drawPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
Redirects to drawPolygon of the registered
Graphics objects |
void |
drawPolyline(int[] xPoints,
int[] yPoints,
int nPoints)
Redirects to drawPolyline of the registered
Graphics objects |
void |
drawRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
Redirects to drawRoundRect of the registered
Graphics objects |
void |
drawString(java.text.AttributedCharacterIterator iterator,
int x,
int y)
Redirects to drawString of the registered
Graphics objects |
void |
drawString(java.lang.String str,
int x,
int y)
Redirects to drawString of the registered
Graphics objects |
void |
fillArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
Redirects to fillArc of the registered
Graphics objects |
void |
fillOval(int x,
int y,
int width,
int height)
Redirects to fillOval of the registered
Graphics objects |
void |
fillPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
Redirects to fillPolygon of the registered
Graphics objects |
void |
fillRect(int x,
int y,
int width,
int height)
Redirects to fillRect of the registered
Graphics objects |
void |
fillRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
Redirects to fillRoundRect of the registered
Graphics objects |
void |
finalize()
Redirects to finalize of the registered
Graphics objects |
java.awt.Shape |
getClip()
Redirects to getClip of the registered
Graphics objects |
java.awt.Rectangle |
getClipBounds()
Redirects to getClipBounds of the registered
Graphics objects |
java.awt.Color |
getColor()
Redirects to getColor of the registered
Graphics objects |
java.awt.Font |
getFont()
Redirects to getFont of the registered
Graphics objects |
java.awt.FontMetrics |
getFontMetrics(java.awt.Font f)
Redirects to getFontMetrics of the registered
Graphics objects |
void |
removeGraphics(java.awt.Graphics g)
Removes a sub Graphics object |
void |
setClip(int x,
int y,
int width,
int height)
Redirects to setClip of the registered
Graphics objects |
void |
setClip(java.awt.Shape clip)
Redirects to setClip of the registered
Graphics objects |
void |
setColor(java.awt.Color c)
Redirects to setColor of the registered
Graphics objects |
void |
setFont(java.awt.Font font)
Redirects to setFont of the registered
Graphics objects |
void |
setGraphics(java.awt.Graphics g)
Sets the current sub Graphics object |
void |
setPaintMode()
Redirects to setPaintMode of the registered
Graphics objects |
void |
setXORMode(java.awt.Color c1)
Redirects to setXORMode of the registered
Graphics objects |
java.lang.String |
toString()
Returns a String object representing this object's value |
void |
translate(int x,
int y)
Redirects to translate of the registered
Graphics objects |
| Methods inherited from class java.awt.Graphics |
create, draw3DRect, drawBytes, drawChars, drawPolygon, drawRect, fill3DRect, fillPolygon, getClipBounds, getClipRect, getFontMetrics, hitClip |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CopyGraphics()
CopyGraphics
public CopyGraphics(java.awt.Graphics g)
CopyGraphics
containing the given sub Graphics object
g - the new sub Graphics object
or null if there shouldn't be
any sub objectspublic CopyGraphics(java.awt.Graphics[] g)
CopyGraphics
containing the given sub Graphics objects
g - an Array containing the new sub Graphics objects| Method Detail |
public void addGraphics(java.awt.Graphics g)
Graphics object
g - the new sub Graphics objectpublic void addGraphics(java.awt.Graphics[] g)
Graphics objects
g - an Array containing the new sub Graphics objectspublic void removeGraphics(java.awt.Graphics g)
Graphics object
g - the sub Graphics object to removepublic void setGraphics(java.awt.Graphics g)
Graphics object
g - the new sub Graphics object
or null if there shouldn't be
any sub objectspublic java.awt.Graphics create()
CopyGraphics instance
containing copies of all sub Graphics objects
create in class java.awt.Graphicspublic void dispose()
dispose of the registered
Graphics objects
dispose in class java.awt.Graphicspublic void finalize()
finalize of the registered
Graphics objects
finalize in class java.awt.Graphicspublic java.lang.String toString()
String object representing this object's value
toString in class java.awt.Graphics
public void clearRect(int x,
int y,
int width,
int height)
clearRect of the registered
Graphics objects
clearRect in class java.awt.Graphics
public void clipRect(int x,
int y,
int width,
int height)
clipRect of the registered
Graphics objects
clipRect in class java.awt.Graphics
public void copyArea(int x,
int y,
int width,
int height,
int dx,
int dy)
copyArea of the registered
Graphics objects
copyArea in class java.awt.Graphics
public void drawArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
drawArc of the registered
Graphics objects
drawArc in class java.awt.Graphics
public boolean drawImage(java.awt.Image img,
int x,
int y,
java.awt.Color bgcolor,
java.awt.image.ImageObserver observer)
drawImage of the registered
Graphics objects
drawImage in class java.awt.Graphics
public boolean drawImage(java.awt.Image img,
int x,
int y,
java.awt.image.ImageObserver observer)
drawImage of the registered
Graphics objects
drawImage in class java.awt.Graphics
public boolean drawImage(java.awt.Image img,
int x,
int y,
int width,
int height,
java.awt.Color bgcolor,
java.awt.image.ImageObserver observer)
drawImage of the registered
Graphics objects
drawImage in class java.awt.Graphics
public boolean drawImage(java.awt.Image img,
int x,
int y,
int width,
int height,
java.awt.image.ImageObserver observer)
drawImage of the registered
Graphics objects
drawImage in class java.awt.Graphics
public boolean drawImage(java.awt.Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
java.awt.Color bgcolor,
java.awt.image.ImageObserver observer)
drawImage of the registered
Graphics objects
drawImage in class java.awt.Graphics
public boolean drawImage(java.awt.Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
java.awt.image.ImageObserver observer)
drawImage of the registered
Graphics objects
drawImage in class java.awt.Graphics
public void drawLine(int x1,
int y1,
int x2,
int y2)
drawLine of the registered
Graphics objects
drawLine in class java.awt.Graphics
public void drawOval(int x,
int y,
int width,
int height)
drawOval of the registered
Graphics objects
drawOval in class java.awt.Graphics
public void drawPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
drawPolygon of the registered
Graphics objects
drawPolygon in class java.awt.Graphics
public void drawPolyline(int[] xPoints,
int[] yPoints,
int nPoints)
drawPolyline of the registered
Graphics objects
drawPolyline in class java.awt.Graphics
public void drawRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
drawRoundRect of the registered
Graphics objects
drawRoundRect in class java.awt.Graphics
public void drawString(java.text.AttributedCharacterIterator iterator,
int x,
int y)
drawString of the registered
Graphics objects
drawString in class java.awt.Graphics
public void drawString(java.lang.String str,
int x,
int y)
drawString of the registered
Graphics objects
drawString in class java.awt.Graphics
public void fillArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
fillArc of the registered
Graphics objects
fillArc in class java.awt.Graphics
public void fillOval(int x,
int y,
int width,
int height)
fillOval of the registered
Graphics objects
fillOval in class java.awt.Graphics
public void fillPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
fillPolygon of the registered
Graphics objects
fillPolygon in class java.awt.Graphics
public void fillRect(int x,
int y,
int width,
int height)
fillRect of the registered
Graphics objects
fillRect in class java.awt.Graphics
public void fillRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
fillRoundRect of the registered
Graphics objects
fillRoundRect in class java.awt.Graphicspublic java.awt.Shape getClip()
getClip of the registered
Graphics objects
getClip in class java.awt.Graphicspublic java.awt.Rectangle getClipBounds()
getClipBounds of the registered
Graphics objects
getClipBounds in class java.awt.Graphicspublic java.awt.Color getColor()
getColor of the registered
Graphics objects
getColor in class java.awt.Graphicspublic java.awt.Font getFont()
getFont of the registered
Graphics objects
getFont in class java.awt.Graphicspublic java.awt.FontMetrics getFontMetrics(java.awt.Font f)
getFontMetrics of the registered
Graphics objects
getFontMetrics in class java.awt.Graphics
public void setClip(int x,
int y,
int width,
int height)
setClip of the registered
Graphics objects
setClip in class java.awt.Graphicspublic void setClip(java.awt.Shape clip)
setClip of the registered
Graphics objects
setClip in class java.awt.Graphicspublic void setColor(java.awt.Color c)
setColor of the registered
Graphics objects
setColor in class java.awt.Graphicspublic void setFont(java.awt.Font font)
setFont of the registered
Graphics objects
setFont in class java.awt.Graphicspublic void setPaintMode()
setPaintMode of the registered
Graphics objects
setPaintMode in class java.awt.Graphicspublic void setXORMode(java.awt.Color c1)
setXORMode of the registered
Graphics objects
setXORMode in class java.awt.Graphics
public void translate(int x,
int y)
translate of the registered
Graphics objects
translate in class java.awt.Graphics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||