org.eclipse.tptp.platform.report.drawutil.internal
Class ISymbol.MoonRight
java.lang.Object
org.eclipse.tptp.platform.report.drawutil.internal.ISymbol.MoonRight
- All Implemented Interfaces:
- ISymbol
- Enclosing interface:
- ISymbol
public static class ISymbol.MoonRight
- extends java.lang.Object
- implements ISymbol
Define right family symbol
| Nested classes/interfaces inherited from interface org.eclipse.tptp.platform.report.drawutil.internal.ISymbol |
ISymbol.Cross, ISymbol.Cross2, ISymbol.Diamond, ISymbol.Down, ISymbol.GeneratedPolygonSymbol, ISymbol.Hexagon, ISymbol.HexagonCross, ISymbol.HexagonCross2, ISymbol.HTri2, ISymbol.Left, ISymbol.Minus, ISymbol.MoonDown, ISymbol.MoonLeft, ISymbol.MoonRight, ISymbol.MoonUp, ISymbol.Oval, ISymbol.OvalDot, ISymbol.Pentagon, ISymbol.Plus, ISymbol.PolygonSymbol, ISymbol.Right, ISymbol.Square, ISymbol.Square2, ISymbol.Star, ISymbol.Up, ISymbol.VTri2 |
|
Method Summary |
boolean |
contains(IGC gc,
IRect r,
int px,
int py)
|
void |
draw(IGC gc,
IRect rect)
Draw the symbol using igc's current pen and brush |
java.lang.String |
getId()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISymbol.MoonRight
public ISymbol.MoonRight()
draw
public void draw(IGC gc,
IRect rect)
- Description copied from interface:
ISymbol
- Draw the symbol using igc's current pen and brush
- Specified by:
draw in interface ISymbol
- Parameters:
gc - the graphic context used to draw the symbol.rect - the rectangle where the symbol must be drawn.
contains
public boolean contains(IGC gc,
IRect r,
int px,
int py)
- Specified by:
contains in interface ISymbol
- Parameters:
gc - use this to get any info you want (as text extends ...)r - bounding rectangle of the symbol.px - x coordinate of point to check.
- Returns:
- true if point (px,py) is inside symbol.
getId
public java.lang.String getId()
- Specified by:
getId in interface ISymbol
- Returns:
- the id associated with this symbol ( a class name is a good idea, for example).