org.rapla.gui
Class MenuContext

java.lang.Object
  extended by org.rapla.framework.RaplaDefaultContext
      extended by org.rapla.gui.MenuContext
All Implemented Interfaces:
RaplaContext

public class MenuContext
extends RaplaDefaultContext


Field Summary
static String FOCUSED_OBJECT
           
static String PARENT_COMPONENT
           
static String POPUP_POINT
           
static String SELECTED_OBJECTS
           
 
Constructor Summary
MenuContext(RaplaContext parentContext, Object focusedObject)
           
MenuContext(RaplaContext parentContext, Object focusedObject, Component parent, Point p)
           
 
Method Summary
 Component getComponent()
           
 Object getFocusedObject()
           
 Point getPoint()
           
 Collection getSelectedObjects()
           
 void setSelectedObjects(Collection selectedObjects)
           
 
Methods inherited from class org.rapla.framework.RaplaDefaultContext
getUnsave, has, lookup, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARENT_COMPONENT

public static String PARENT_COMPONENT

POPUP_POINT

public static String POPUP_POINT

FOCUSED_OBJECT

public static String FOCUSED_OBJECT

SELECTED_OBJECTS

public static String SELECTED_OBJECTS
Constructor Detail

MenuContext

public MenuContext(RaplaContext parentContext,
                   Object focusedObject)

MenuContext

public MenuContext(RaplaContext parentContext,
                   Object focusedObject,
                   Component parent,
                   Point p)
Method Detail

setSelectedObjects

public void setSelectedObjects(Collection selectedObjects)

getSelectedObjects

public Collection getSelectedObjects()

getPoint

public Point getPoint()

getComponent

public Component getComponent()

getFocusedObject

public Object getFocusedObject()


Copyright © 2000-2006 Rapla Team. All Rights Reseserved.