org.tigris.gef.base
Interface Mode

All Known Subinterfaces:
FigModifyingMode
All Known Implementing Classes:
FigModifyingModeImpl, ModeBroom, ModeCreate, ModeCreateEdge, ModeCreateFigCircle, ModeCreateFigImage, ModeCreateFigInk, ModeCreateFigLine, ModeCreateFigPoly, ModeCreateFigRect, ModeCreateFigRRect, ModeCreateFigSpline, ModeCreateFigText, ModeCreatePolyEdge, ModeDragScroll, ModeImpl, ModeModify, ModePlace, ModePopup, ModeSelect

public interface Mode

This is the base interface for all modes in gef. A Mode is responsible for handling most of the events that come to the Editor. A Mode defines a context for interperting those events. Systems using GEF can define their own Modes by subclassing from FigModifyingMode.

See Also:
ModeImpl, Cmd, FigModifyingMode

Method Summary
 boolean canExit()
           
 void done()
           
 java.lang.Object getArg(java.lang.String key)
           
 java.util.Hashtable getArgs()
           
 void init(java.util.Hashtable parameters)
           
 void setArg(java.lang.String key, java.lang.Object value)
           
 void setArgs(java.util.Hashtable args)
           
 void start()
           
 

Method Detail

start

void start()

done

void done()

setArgs

void setArgs(java.util.Hashtable args)

setArg

void setArg(java.lang.String key,
            java.lang.Object value)

getArgs

java.util.Hashtable getArgs()

getArg

java.lang.Object getArg(java.lang.String key)

canExit

boolean canExit()

init

void init(java.util.Hashtable parameters)