verf.mddesigner.gui.mvc.view.drawable
Class MGUIDrawableMode

java.lang.Object
  extended by verf.mddesigner.gui.mvc.view.drawable.MGUIDrawableMode
All Implemented Interfaces:
IMGUIDrawable

public class MGUIDrawableMode
extends java.lang.Object
implements IMGUIDrawable

Author:
Marek

Constructor Summary
MGUIDrawableMode(int x, int y, int x1, int y1)
           
MGUIDrawableMode(int x, int y, int x1, int y1, boolean act)
           
 
Method Summary
 void execute(java.awt.Graphics g)
           
 boolean getActive()
           
 java.awt.Color getColor()
           
 int getSurface()
           
 MDMode getTreeComponent()
           
 java.lang.String getType()
           
 int getX()
           
 int getX1()
           
 int getY()
           
 int getY1()
           
 boolean isIntersected(int x, int y)
           
 void setActive(boolean act)
           
 void setColor(java.awt.Color color)
           
 void setTreeComponent(MDMode mode)
           
 void setX(int x)
           
 void setX1(int x1)
           
 void setY(int y)
           
 void setY1(int y1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MGUIDrawableMode

public MGUIDrawableMode(int x,
                        int y,
                        int x1,
                        int y1)

MGUIDrawableMode

public MGUIDrawableMode(int x,
                        int y,
                        int x1,
                        int y1,
                        boolean act)
Method Detail

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()