svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.fmap.control / src / main / java / org / gvsig / propertypage / PropertiesPage.java @ 42775
History | View | Annotate | Download (1.27 KB)
1 |
package org.gvsig.propertypage; |
---|---|
2 |
|
3 |
import org.gvsig.tools.swing.api.Component; |
4 |
|
5 |
|
6 |
|
7 |
|
8 |
public interface PropertiesPage extends Component { |
9 |
|
10 |
/**
|
11 |
* Title of the properties page
|
12 |
*
|
13 |
* @return the title.
|
14 |
*/
|
15 |
public String getTitle(); |
16 |
|
17 |
/**
|
18 |
* The priority of this properties page.
|
19 |
* When more high is the priority more to the left are set properties page.
|
20 |
*
|
21 |
* @return the priority of the properties page
|
22 |
*/
|
23 |
public int getPriority(); |
24 |
|
25 |
/**
|
26 |
* Called when the button accept is presed by the user.
|
27 |
* If return false the panel is not hidden and do not call whenAccept of
|
28 |
* other properties pages.
|
29 |
*
|
30 |
* @return false to cancel the user action.
|
31 |
*/
|
32 |
public boolean whenAccept(); |
33 |
|
34 |
/**
|
35 |
* Called when the button apply is presed by the user.
|
36 |
* If return false the panel do not call whenApply of
|
37 |
* other properties pages.
|
38 |
*
|
39 |
* @return false to cancel the user action.
|
40 |
*/
|
41 |
public boolean whenApply(); |
42 |
|
43 |
/**
|
44 |
* Called when the button accept is presed by the user.
|
45 |
* If return false the panel is not hidden and do not call whenCancel of
|
46 |
* other properties pages.
|
47 |
*
|
48 |
* @return false to cancel the user action.
|
49 |
*/
|
50 |
public boolean whenCancel(); |
51 |
|
52 |
} |