Package org.xhtmlrenderer.swt.simple
Class SWTTextControl
java.lang.Object
org.xhtmlrenderer.swt.simple.SWTXhtmlControl
org.xhtmlrenderer.swt.simple.SWTTextControl
- All Implemented Interfaces:
SWTFormControl
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSWTTextControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.swt.widgets.Control
createSWTControl
(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) private static String
decodeDelimiter
(String text) private static String
encodeDelimiter
(String text) int
int
Methods inherited from class org.xhtmlrenderer.swt.simple.SWTXhtmlControl
dispose, getFormControl, getSWTControl
-
Field Details
-
RE_NEWLINE
-
_sizeText
-
_noChangeText
private boolean _noChangeText
-
-
Constructor Details
-
SWTTextControl
public SWTTextControl(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac)
-
-
Method Details
-
createSWTControl
protected org.eclipse.swt.widgets.Control createSWTControl(FormControl control, BasicRenderer parent, LayoutContext c, CalculatedStyle style, UserAgentCallback uac) - Specified by:
createSWTControl
in classSWTXhtmlControl
-
getIdealWidth
public int getIdealWidth() -
getIdealHeight
public int getIdealHeight() -
encodeDelimiter
-
decodeDelimiter
-