comparison dwtx/ui/internal/forms/widgets/IFocusSelectable.d @ 104:04b47443bb01

Reworked the collection uses to make use of a wrapper collection that is compatible to the Java Collections. These new wrappers now use the tango.util.containers instead of the tango.util.collections.
author Frank Benoit <benoit@tionex.de>
date Thu, 07 Aug 2008 15:01:33 +0200
parents 5d489b9f966c
children
comparison
equal deleted inserted replaced
103:2d6540440fe6 104:04b47443bb01
10 * Port to the D programming language: 10 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de> 11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/ 12 *******************************************************************************/
13 module dwtx.ui.internal.forms.widgets.IFocusSelectable; 13 module dwtx.ui.internal.forms.widgets.IFocusSelectable;
14 14
15 import tango.util.collection.HashMap; 15 import dwtx.dwtxhelper.Collection;
16 16
17 import dwt.graphics.Rectangle; 17 import dwt.graphics.Rectangle;
18 import dwt.dwthelper.utils; 18 import dwt.dwthelper.utils;
19 19
20 public interface IFocusSelectable { 20 public interface IFocusSelectable {
21 alias HashMap!(String,Object) Hashtable;
22 bool isFocusSelectable(Hashtable resourceTable); 21 bool isFocusSelectable(Hashtable resourceTable);
23 bool setFocus(Hashtable resourceTable, bool direction); 22 bool setFocus(Hashtable resourceTable, bool direction);
24 Rectangle getBounds(); 23 Rectangle getBounds();
25 } 24 }