svn-gvsig-desktop / trunk / libraries / libIverUtiles / src / com / iver / utiles / swing / objectSelection / ObjectSelectionModel.java @ 1836
History | View | Annotate | Download (628 Bytes)
1 |
package com.iver.utiles.swing.objectSelection; |
---|---|
2 |
|
3 |
/**
|
4 |
* Modelo del control ObjectSelection
|
5 |
*
|
6 |
* @author Fernando Gonz?lez Cort?s
|
7 |
*/
|
8 |
public interface ObjectSelectionModel { |
9 |
/**
|
10 |
* Obtiene las referencias a los objetos que aparecer?n
|
11 |
* seleccionables en el combo
|
12 |
*
|
13 |
* @return array de objetos
|
14 |
*
|
15 |
* @throws SelectionException Si se produce alg?n error
|
16 |
*/
|
17 |
public Object[] getObjects() throws SelectionException; |
18 |
|
19 |
/**
|
20 |
* Obtiene el mensaje que se mostrar? al usuario
|
21 |
*
|
22 |
* @return String
|
23 |
*
|
24 |
* @throws SelectionException Si no se puede obtener el mensaje
|
25 |
*/
|
26 |
public String getMsg() throws SelectionException; |
27 |
} |