com.miginfocom.calendar.datearea
Interface DateAreaConnection

All Known Implementing Classes:
ActivityGridLayoutBean

public interface DateAreaConnection

Denotes a weak referenced connection to a date area.


Method Summary
 DefaultDateArea getConnectedDateArea()
          Returns the conneced date area or null if none.
 void setConnectedDateArea(DefaultDateArea dateArea)
          Sets the connected date area.
 

Method Detail

getConnectedDateArea

DefaultDateArea getConnectedDateArea()
Returns the conneced date area or null if none.

The date area is kept in a WeakReference so it might also return null if there is only weak references to the date area. This is to avoid memory leaks is uncontrolled environments such as IDEs,

Returns:
The date area or null.

setConnectedDateArea

void setConnectedDateArea(DefaultDateArea dateArea)
Sets the connected date area.

The date area is kept in a WeakReference so it might also return null if there is only weak references to the date area. This is to avoid memory leaks is uncontrolled environments such as IDEs,

Parameters:
dateArea - The new date area. May be null.


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.