verf.mddesigner.gui.mvc.view.drawable
Class MGUIDrawableMode
java.lang.Object
verf.mddesigner.gui.mvc.view.drawable.MGUIDrawableMode
- All Implemented Interfaces:
- IMGUIDrawable
public class MGUIDrawableMode
- extends java.lang.Object
- implements IMGUIDrawable
- Author:
- Marek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MGUIDrawableMode
public MGUIDrawableMode(int x,
int y,
int x1,
int y1)
MGUIDrawableMode
public MGUIDrawableMode(int x,
int y,
int x1,
int y1,
boolean act)
setTreeComponent
public void setTreeComponent(MDMode mode)
getTreeComponent
public MDMode getTreeComponent()
execute
public void execute(java.awt.Graphics g)
- Specified by:
execute
in interface IMGUIDrawable
getActive
public boolean getActive()
- Specified by:
getActive
in interface IMGUIDrawable
setActive
public void setActive(boolean act)
- Specified by:
setActive
in interface IMGUIDrawable
isIntersected
public boolean isIntersected(int x,
int y)
- Specified by:
isIntersected
in interface IMGUIDrawable
getType
public java.lang.String getType()
- Specified by:
getType
in interface IMGUIDrawable
getSurface
public int getSurface()
setX
public void setX(int x)
setY
public void setY(int y)
setX1
public void setX1(int x1)
setY1
public void setY1(int y1)
getX
public int getX()
getY
public int getY()
getX1
public int getX1()
getY1
public int getY1()
setColor
public void setColor(java.awt.Color color)
getColor
public java.awt.Color getColor()