Eclipse Draw2d
2.1

org.eclipse.draw2d
Class SWTGraphics.State

java.lang.Object
  |
  +--org.eclipse.draw2d.SWTGraphics.State
All Implemented Interfaces:
Cloneable
Enclosing class:
SWTGraphics

protected static class SWTGraphics.State
extends Object
implements Cloneable

Contains the state variables of this SWTGraphics object


Field Summary
 Color bgColor
          Background and foreground colors
 int clipH
          Clip values
 int clipW
          Clip values
 int clipX
          Clip values
 int clipY
          Clip values
 int dx
          Line values
 int dy
          Line values
 Color fgColor
          Background and foreground colors
 Font font
          Font value
 int lineStyle
          Line values
 int lineWidth
          Line values
 boolean xor
          XOR value
 
Constructor Summary
protected SWTGraphics.State()
           
 
Method Summary
 Object clone()
           
 void copyFrom(SWTGraphics.State state)
          Copies all state information from the given State to this State
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bgColor

public Color bgColor
Background and foreground colors


fgColor

public Color fgColor
Background and foreground colors


clipX

public int clipX
Clip values


clipY

public int clipY
Clip values


clipW

public int clipW
Clip values


clipH

public int clipH
Clip values


font

public Font font
Font value


lineWidth

public int lineWidth
Line values


lineStyle

public int lineStyle
Line values


dx

public int dx
Line values


dy

public int dy
Line values


xor

public boolean xor
XOR value

Constructor Detail

SWTGraphics.State

protected SWTGraphics.State()
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
CloneNotSupportedException
See Also:
Object.clone()

copyFrom

public void copyFrom(SWTGraphics.State state)
Copies all state information from the given State to this State

Parameters:
state - The State to copy from

Eclipse Draw2d
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.