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: public interface IUnListSelectComponent {
34: /**
35: * <p>
36: * Sets the selection to a row
37: * </p>
38: * <p>
39: *
40: * @return value of the selected row
41: * </p>
42: * <p>
43: * @param xRow
44: * number of the row
45: * </p>
46: */
47: public Object pcmf_setSelectedRow(int xRow);
48:
49: /**
50: * <p>
51: * Gets the number of the selected row starting by 0
52: * </p>
53: * <p>
54: *
55: * @return number of the selected row
56: * </p>
57: * <p>
58: * </p>
59: */
60: public int pcmf_getSelectedRow();
61:
62: /**
63: * <p>
64: * Gets the selected object
65: * </p>
66: * <p>
67: *
68: * @return selected object
69: * </p>
70: * <p>
71: * </p>
72: */
73: public Object pcmf_getSelectedObject();
74:
75: /**
76: * <p>
77: * Is selectable enabled
78: * </p>
79: * <p>
80: *
81: * @return true if enabled, otherwise false
82: * </p>
83: * <p>
84: * </p>
85: */
86: public boolean pcmf_isSelectable();
87: }
|