public class AceEditor
extends net.magik6k.jwwf.widgets.basic.input.generic.BasicInput
| Constructor and Description |
|---|
AceEditor()
Creates new Ace Editor with default Text mode and Monokai theme
|
AceEditor(AceMode mode)
Creates new Ace Editor with Monokai theme
|
AceEditor(AceMode mode,
AceTheme theme)
Creates new Ace Editor
|
AceEditor(AceTheme theme)
Creates new Ace Editor with default Text mode
|
AceEditor(java.lang.String text)
Creates new Ace Editor with default Text mode and Monokai theme
|
AceEditor(java.lang.String text,
AceMode mode)
Creates new Ace Editor with Monokai theme
|
AceEditor(java.lang.String text,
AceMode mode,
AceTheme theme)
Creates new Ace Editor
|
AceEditor(java.lang.String text,
AceTheme theme)
Creates new Ace Editor with default Text mode
|
AceEditor(java.lang.String text,
int width,
int height)
Creates new Ace Editor with default Text mode and Monokai theme
|
AceEditor(java.lang.String text,
int width,
int height,
AceMode mode)
Creates new Ace Editor with Monokai theme
|
AceEditor(java.lang.String text,
int width,
int height,
AceMode mode,
AceTheme theme)
Creates new Ace Editor
|
AceEditor(java.lang.String text,
int width,
int height,
AceTheme theme)
Creates new Ace Editor with default Text mode
|
AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler)
Creates new Ace Editor with default Text mode and Monokai theme
|
AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
AceMode mode)
Creates new Ace Editor with Monokai theme
|
AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
AceMode mode,
AceTheme theme)
Creates new Ace Editor
|
AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
AceTheme theme)
Creates new Ace Editor with default Text mode
|
AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height)
Creates new Ace Editor with default Text mode and Monokai theme
|
AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceMode mode)
Creates new Ace Editor with Monokai theme
|
AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceMode mode,
AceTheme theme)
Creates new Ace Editor
|
AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceTheme theme)
Creates new Ace Editor with default Text mode
|
AceEditor(net.magik6k.jwwf.handlers.TextHandler handler)
Creates new Ace Editor with default Text mode and Monokai theme
|
AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
AceMode mode)
Creates new Ace Editor with Monokai theme
|
AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
AceMode mode,
AceTheme theme)
Creates new Ace Editor
|
AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
AceTheme theme)
Creates new Ace Editor with default Text mode
|
AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height)
Creates new Ace Editor with default Text mode and Monokai theme
|
AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceMode mode)
Creates new Ace Editor with Monokai theme
|
AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceMode mode,
AceTheme theme)
Creates new Ace Editor
|
AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceTheme theme)
Creates new Ace Editor with default Text mode
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getData() |
java.lang.String |
getName() |
java.lang.String |
getText()
Returns entered text
|
void |
handleData(java.lang.String data)
Internal use only
|
AceEditor |
setSize(int width,
int height)
Sets size of the editor
|
AceEditor |
setText(java.lang.String text)
Sets new text
|
AceEditor |
setTextHandler(net.magik6k.jwwf.handlers.TextHandler handler)
Sets new TextHandler
|
getPayload, sendEvent, setEventBus, setPayloadpublic AceEditor()
public AceEditor(java.lang.String text)
text - Default textpublic AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler)
text - Default texthandler - Input handlerpublic AceEditor(net.magik6k.jwwf.handlers.TextHandler handler)
handler - Input handlerpublic AceEditor(java.lang.String text,
int width,
int height)
text - Default textwidth - Width in pixelsheight - Height in pixelspublic AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height)
text - Default texthandler - Input handlerwidth - Width in pixelsheight - Height in pixelspublic AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height)
handler - Input handlerwidth - Width in pixelsheight - Height in pixelspublic AceEditor(AceMode mode)
mode - Ace editor modepublic AceEditor(java.lang.String text,
AceMode mode)
text - Default textmode - Ace editor modepublic AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
AceMode mode)
text - Default texthandler - Input handlermode - Ace editor modepublic AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
AceMode mode)
handler - Input handlermode - Ace editor modepublic AceEditor(java.lang.String text,
int width,
int height,
AceMode mode)
text - Default textwidth - Width in pixelsheight - Height in pixelsmode - Ace editor modepublic AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceMode mode)
text - Default texthandler - Input handlerwidth - Width in pixelsheight - Height in pixelsmode - Ace editor modepublic AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceMode mode)
handler - Input handlerwidth - Width in pixelsheight - Height in pixelsmode - Ace editor modepublic AceEditor(AceTheme theme)
theme - Ace editor themepublic AceEditor(java.lang.String text,
AceTheme theme)
text - Default texttheme - Ace editor themepublic AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
AceTheme theme)
text - Default texthandler - Input handlertheme - Ace editor themepublic AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
AceTheme theme)
handler - Input handlertheme - Ace editor themepublic AceEditor(java.lang.String text,
int width,
int height,
AceTheme theme)
text - Default textwidth - Width in pixelsheight - Height in pixelstheme - Ace editor themepublic AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceTheme theme)
text - Default texthandler - Input handlerwidth - Width in pixelsheight - Height in pixelstheme - Ace editor themepublic AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceTheme theme)
handler - Input handlerwidth - Width in pixelsheight - Height in pixelstheme - Ace editor themepublic AceEditor(AceMode mode, AceTheme theme)
mode - Ace editor modetheme - Ace editor themepublic AceEditor(java.lang.String text,
AceMode mode,
AceTheme theme)
text - Default textmode - Ace editor modetheme - Ace editor themepublic AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
AceMode mode,
AceTheme theme)
text - Default texthandler - Input handlermode - Ace editor modetheme - Ace editor themepublic AceEditor(net.magik6k.jwwf.handlers.TextHandler handler,
AceMode mode,
AceTheme theme)
handler - Input handlermode - Ace editor modetheme - Ace editor themepublic AceEditor(java.lang.String text,
int width,
int height,
AceMode mode,
AceTheme theme)
text - Default textwidth - Width in pixelsheight - Height in pixelsmode - Ace editor modetheme - Ace editor themepublic AceEditor(java.lang.String text,
net.magik6k.jwwf.handlers.TextHandler handler,
int width,
int height,
AceMode mode,
AceTheme theme)
text - Default texthandler - Input handlerwidth - Width in pixelsheight - Height in pixelsmode - Ace editor modetheme - Ace editor themepublic AceEditor setSize(int width, int height)
width - New width in pixelsheight - New height in pixelspublic AceEditor setText(java.lang.String text)
text - Text to setpublic AceEditor setTextHandler(net.magik6k.jwwf.handlers.TextHandler handler)
handler - New text handlerpublic java.lang.String getText()
public java.lang.String getName()
getName in class net.magik6k.jwwf.core.Widgetpublic java.lang.String getData()
getData in class net.magik6k.jwwf.core.Widgetpublic void handleData(java.lang.String data)
handleData in class net.magik6k.jwwf.widgets.basic.input.generic.BasicInput