gvsig-3d / org.gvsig.animation3d / trunk / org.gvsig.animation3d / org.gvsig.animation3d.swing / org.gvsig.animation3d.swing.api / src / main / java / org / gvsig / animation3d / swing / api / Animation3DPanel.java @ 687
History | View | Annotate | Download (2.14 KB)
1 |
package org.gvsig.animation3d.swing.api; |
---|---|
2 |
|
3 |
import java.util.List; |
4 |
|
5 |
import org.gvsig.fmap.mapcontext.layers.ExtendedPropertiesSupport; |
6 |
import org.gvsig.tools.dispose.Disposable; |
7 |
import org.gvsig.tools.observer.Observer; |
8 |
import org.gvsig.tools.swing.api.Component; |
9 |
|
10 |
/**
|
11 |
* Component to manage animations by user interface
|
12 |
*
|
13 |
* @author <a href="mailto:lmarques@disid.com">Lluis Marques</a>
|
14 |
*
|
15 |
*/
|
16 |
public interface Animation3DPanel extends Component, Observer, Disposable { |
17 |
|
18 |
/**
|
19 |
* Add {@link ExtendedPropertiesSupport} to manage their animations
|
20 |
*
|
21 |
* @param name
|
22 |
* Name of {@link ExtendedPropertiesSupport}
|
23 |
* @param properties
|
24 |
* {@link ExtendedPropertiesSupport}
|
25 |
*/
|
26 |
public void addExtendedPropertiesSupport(String name, ExtendedPropertiesSupport properties); |
27 |
|
28 |
/**
|
29 |
* Remove {@link ExtendedPropertiesSupport} of list
|
30 |
*
|
31 |
* @param name
|
32 |
* Name of {@link ExtendedPropertiesSupport} to be removed
|
33 |
*/
|
34 |
public void removeExtendedPropertiesSupport(String name); |
35 |
|
36 |
/**
|
37 |
* Change name of an existing {@link ExtendedPropertiesSupport}.
|
38 |
*
|
39 |
* @param oldValue
|
40 |
* Old name
|
41 |
* @param newValue
|
42 |
* New name
|
43 |
*/
|
44 |
public void changeExtendedPropertiesSupportName(String oldValue, String newValue); |
45 |
|
46 |
/**
|
47 |
* @return Returns selected {@link ExtendedPropertiesSupport}.
|
48 |
* <code>Null</code> if there
|
49 |
* are not selected extended properties.
|
50 |
*/
|
51 |
public ExtendedPropertiesSupport getSelectedExtendedProperties();
|
52 |
|
53 |
/**
|
54 |
* @return Returns selected {@link Animation3D}. <code>Null</code> if there
|
55 |
* are not selected animations.
|
56 |
*/
|
57 |
public Animation3D getSelectedAnimation3D();
|
58 |
|
59 |
/**
|
60 |
* @return Returns selected {@link Frame3D}. <code>Null</code> if there
|
61 |
* are not selected frames.
|
62 |
*/
|
63 |
public List<Frame3D> getSelectedFrames3D(); |
64 |
|
65 |
/**
|
66 |
* @return Returns if spherical option is selected
|
67 |
*/
|
68 |
public boolean isSphericalOptionSelected(); |
69 |
|
70 |
/**
|
71 |
* @return Returns if flat option is selected
|
72 |
*/
|
73 |
public boolean isFlatOptionSelected(); |
74 |
|
75 |
} |