01: // @@
02: // @@
03: /*
04: * Wi.Ser Framework
05: *
06: * Version: 1.8.1, 20-September-2007
07: * Copyright (C) 2005 Dirk von der Weiden <dvdw@imail.de>
08: *
09: * This library is free software; you can redistribute it and/or
10: * modify it under the terms of the GNU Lesser General Public
11: * License as published by the Free Software Foundation; either
12: * version 2 of the License, or (at your option) any later version.
13: *
14: * This library is distributed in the hope that it will be useful,
15: * but WITHOUT ANY WARRANTY; without even the implied warranty of
16: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17: * Lesser General Public License for more details.
18: *
19: * You should have received a copy of the GNU Lesser General Public
20: * License along with this library located in LGPL.txt in the
21: * license directory; if not, write to the
22: * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23: * Boston, MA 02111-1307, USA.
24: *
25: * If this agreement does not cover your requirements, please contact us
26: * via email to get detailed information about the commercial license
27: * or our service offerings!
28: *
29: */
30: // @@
31: package de.ug2t.unifiedGui.interfaces;
32:
33: import de.ug2t.channel.ho.*;
34:
35: /**
36: * @author Dirk
37: *
38: * date: 26.10.2003 project: WiSer-Framework
39: *
40: * <p>
41: * IUnMultiSelectComponent is a common interface to all widgets which allow
42: * multiple selection of items.
43: * </p>
44: */
45: public interface IUnMultiSelectComponent {
46: /**
47: * <p>
48: * Enables or disables the multi-selection
49: * </p>
50: * <p>
51: *
52: * @return previous value of the flag
53: * </p>
54: */
55: public boolean pcmf_setMultiSelection(boolean xMulti);
56:
57: /**
58: * <p>
59: * Tests whether multi-selection is enabled or disabled
60: * </p>
61: * <p>
62: *
63: * @return true enabled, false disabled multi-selection
64: * </p>
65: * <p>
66: * </p>
67: */
68: public boolean pcmf_isMultiSelection();
69:
70: /**
71: * <p>
72: * Returns a container with all selected items
73: * </p>
74: * <p>
75: *
76: * @return container with selected items
77: * </p>
78: * <p>
79: * </p>
80: */
81: public HoGenericDataContainer pcmf_getValues();
82:
83: /**
84: * <p>
85: * Sets a container with all selected items
86: * </p>
87: * <p>
88: * @param xValues
89: * container with values
90: * </p>
91: */
92: public void pcmf_setValues(HoGenericDataContainer xValues);
93: }
|