Package org.xhtmlrenderer.swt.simple
Class SWTButtonControl
java.lang.Object
org.xhtmlrenderer.swt.simple.SWTXhtmlControl
org.xhtmlrenderer.swt.simple.SWTButtonControl
- All Implemented Interfaces:
SWTFormControl
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSWTButtonControl
(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) void
dispose()
int
int
Methods inherited from class org.xhtmlrenderer.swt.simple.SWTXhtmlControl
getFormControl, getSWTControl
-
Field Details
-
_image
private org.eclipse.swt.graphics.Image _image
-
-
Constructor Details
-
SWTButtonControl
public SWTButtonControl(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
-
getIdealHeight
public int getIdealHeight() -
getIdealWidth
public int getIdealWidth() -
dispose
public void dispose()- Specified by:
dispose
in interfaceSWTFormControl
- Overrides:
dispose
in classSWTXhtmlControl
-