org.graffiti.plugin.view.interactive
Interface InSlotMap

All Known Implementing Classes:
SlotMap

public interface InSlotMap

Classes implementing InSlotMap allow to query the values associated with Slots.

Version:
$Revision$ $Date$
Author:
Andreas Gleißner
See Also:
OutSlotMap, SlotMap

Method Summary
 boolean containsSlot(String id)
          Returns if there is a slot with the specified id.
<T> T
get(Slot<T> slot)
          Returns the value associated with the specified slot.
 

Method Detail

containsSlot

boolean containsSlot(String id)
Returns if there is a slot with the specified id.

Parameters:
id - the id of the slot in question.
Returns:
true if there is a slot with the specified id.

get

<T> T get(Slot<T> slot)
Returns the value associated with the specified slot.

Type Parameters:
T - the type of the slot.
Parameters:
slot - the slot whose associated value is to be returned. It must be contained by this map.
Returns:
the value associated with the specified slot.


Generated at 2012-05-30 11:00:36 PM CEST