net.sf.doolin.gui.util
Interface PropertyContainer

All Known Subinterfaces:
Field<V>, GUIView<B>, GUIWindow<B>
All Known Implementing Classes:
AbstractDialogWindow, AbstractField, AbstractGUIView, AbstractGUIWindow, AbstractRootPaneGUIWindow, ActionBarContext, DefaultGUIView, DialogGUIWindow, FrameGUIWindow, GUITableField, GUITreeField, MultiComboField, SimpleField, WizardWindow

public interface PropertyContainer

Defines an object that can store properties (name and value pairs).

Author:
Damien Coraboeuf

Method Summary
 Object getProperty(Object key)
          Retrieves a property from this view
 void setProperty(Object key, Object value)
          Attaches a property to the view.
 

Method Detail

setProperty

void setProperty(Object key,
                 Object value)
Attaches a property to the view. If the value is null, the property will be removed from the view instead.

Parameters:
key - Property key
value - Property value

getProperty

Object getProperty(Object key)
Retrieves a property from this view

Parameters:
key - Property key
Returns:
Property value or null if not defined


Copyright © 2011. All Rights Reserved.