gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.lib / org.gvsig.scripting.lib.api / src / main / java / org / gvsig / scripting / ScriptingText.java @ 1267
History | View | Annotate | Download (602 Bytes)
1 | 164 | jobacas | package org.gvsig.scripting; |
---|---|---|---|
2 | |||
3 | /**
|
||
4 | 1267 | jjdelcerro | * <p>
|
5 | * Interface that represents a unit with text.</p>
|
||
6 | *
|
||
7 | 164 | jobacas | * @see ScriptingUnit
|
8 | */
|
||
9 | 1267 | jjdelcerro | public interface ScriptingText extends ScriptingUnit { |
10 | 164 | jobacas | |
11 | 1267 | jjdelcerro | /**
|
12 | * Returns the text associated to this unit.
|
||
13 | *
|
||
14 | * @return a String of this unit.
|
||
15 | */
|
||
16 | public String getText(); |
||
17 | 164 | jobacas | |
18 | 1267 | jjdelcerro | /**
|
19 | * Sets a the text associated to this unit.
|
||
20 | *
|
||
21 | * @param text String to assign to this unit.
|
||
22 | */
|
||
23 | public void setText(String text); |
||
24 | 164 | jobacas | |
25 | 1267 | jjdelcerro | /**
|
26 | * Persists the current status of this unit.
|
||
27 | */
|
||
28 | public void save(); |
||
29 | 164 | jobacas | |
30 | 1267 | jjdelcerro | public String getMimeType(); |
31 | 164 | jobacas | } |