org.progeeks.util
Interface FocusedContext

All Superinterfaces:
StandardBean, ViewContext
All Known Subinterfaces:
MultiFocusedContext
All Known Implementing Classes:
ChartContext, DefaultMultiFocusedContext

public interface FocusedContext
extends ViewContext

Context specialization denoting a view context that holds a focused or targeted object. Useful for generally abstracting view-models that contain a selection.

Version:
$Revision: 1.1 $
Author:
Paul Speed

Field Summary
static java.lang.String PROP_FOCUS
           
 
Method Summary
 java.lang.Object getFocus()
          Returns the object that is the current focus of this context.
 void setFocus(java.lang.Object obj)
          Sets the specified object as the current focus object for this context.
 
Methods inherited from interface org.progeeks.util.ViewContext
getParentContext, setParentContext
 
Methods inherited from interface org.progeeks.util.beans.StandardBean
addPropertyChangeListener, addPropertyChangeListener, hasListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

PROP_FOCUS

static final java.lang.String PROP_FOCUS
See Also:
Constant Field Values
Method Detail

setFocus

void setFocus(java.lang.Object obj)
Sets the specified object as the current focus object for this context.


getFocus

java.lang.Object getFocus()
Returns the object that is the current focus of this context.



Copyright © 2002-2003 Paul Speed. All Rights Reserved.