1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package net.sf.magicproject.action;
20
21 import net.sf.magicproject.clickable.targetable.Targetable;
22
23 /***
24 * @author <a href="mailto:fabdouglas@users.sourceforge.net">Fabrice Daugan </a>
25 * @since 0.93
26 */
27 public interface AccessibleContext {
28
29 /***
30 * Return the shared number from the given attribute.
31 *
32 * @param attribute
33 * the requested targetable key.
34 * @return the shared number from the given attribute.
35 */
36 int getAccessibleInt(String attribute);
37
38 /***
39 * Return the shared targetable object from the given attribute.
40 *
41 * @param attribute
42 * the requested targetable key.
43 * @return the shared targetable from the given attribute.
44 */
45 Targetable getAccessibleTargetable(String attribute);
46 }