All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mesquite.lib.MesquiteTool

java.lang.Object
   |
   +----mesquite.lib.MesquiteTool

public class MesquiteTool
extends java.lang.Object
implements mesquite.lib.Listable, mesquite.lib.Explainable, mesquite.lib.ImageOwner
A tool (i.e. cursor) that can be active and used on items on the screen.


Variable Index

 o explanation
 o fullDescription
 o imageDirectoryPath
 o imageFileName
 o name

Constructor Index

 o MesquiteTool(String, String, String, String, String)

Method Index

 o chooseOptions(Container, int, int)
 o dispose()
 o getCursorImage()
 o getDescription()
 o getExplanation()
 o getHotSpot()
 o getImagePath()
 o getInUse()
 o getName()
 o getSizedImagePath(int)
 o isArrowTool()
 o setCursorImage(Image)
 o setDescription(String)
 o setHotSpot(int, int)
 o setInUse(boolean)
 o setIsArrowTool(boolean)
 o setOptionsCommand(MesquiteCommand)
 o setPopUpOwner(MesquiteModule)

Variables

 o name
 protected java.lang.String name
 o imageDirectoryPath
 protected java.lang.String imageDirectoryPath
 o imageFileName
 protected java.lang.String imageFileName
 o fullDescription
 protected java.lang.String fullDescription
 o explanation
 protected java.lang.String explanation

Constructors

 o MesquiteTool
 public MesquiteTool(java.lang.String name,
                     java.lang.String imageDirectoryPath,
                     java.lang.String imageFileName,
                     java.lang.String fullDescription,
                     java.lang.String explanation)

Methods

 o setCursorImage
 public void setCursorImage(java.awt.Image i)
 o getCursorImage
 public java.awt.Image getCursorImage()
 o getName
 public java.lang.String getName()
 o setIsArrowTool
 public void setIsArrowTool(boolean a)
 o isArrowTool
 public boolean isArrowTool()
 o setHotSpot
 public void setHotSpot(int x,
                        int y)
 o getHotSpot
 public java.awt.Point getHotSpot()
 o setOptionsCommand
 public void setOptionsCommand(mesquite.lib.MesquiteCommand oc)
 o setPopUpOwner
 public void setPopUpOwner(mesquite.lib.MesquiteModule own)
 o chooseOptions
 public void chooseOptions(java.awt.Container c,
                           int x,
                           int y)
 o setDescription
 public void setDescription(java.lang.String text)
 o getDescription
 public java.lang.String getDescription()
 o getExplanation
 public java.lang.String getExplanation()
 o setInUse
 public void setInUse(boolean inUse)
 o getInUse
 public boolean getInUse()
 o getImagePath
 public java.lang.String getImagePath()
 o getSizedImagePath
 public java.lang.String getSizedImagePath(int s)
 o dispose
 public void dispose()

All Packages  Class Hierarchy  This Package  Previous  Next  Index