mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 16:16:10 +00:00
22 lines
532 B
ActionScript
22 lines
532 B
ActionScript
package classes
|
|
{
|
|
import spark.components.TextArea;
|
|
|
|
// Define the default property.
|
|
[DefaultProperty("defaultText")]
|
|
|
|
public class TestDefaultProperty extends TextArea {
|
|
|
|
// Define a setter method to set the text property
|
|
// to the value of the default property.
|
|
public function set defaultText(value:String):void {
|
|
if (value!=null)
|
|
text=value;
|
|
}
|
|
|
|
public function get defaultText():String {
|
|
return text;
|
|
}
|
|
}
|
|
}
|