Package com.iizigo.prop.editor.dialog
Class BoxShadowDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.prop.editor.dialog.BoxShadowDialog
- All Implemented Interfaces:
EventListener
,ChangeListener
,org.eclipse.swt.events.ModifyListener
,org.eclipse.swt.events.SelectionListener
,org.eclipse.swt.internal.SWTEventListener
public class BoxShadowDialog extends org.eclipse.swt.widgets.Dialog implements org.eclipse.swt.events.ModifyListener, ChangeListener, org.eclipse.swt.events.SelectionListener
Box shadow dialog designer. Note: In order to get box-shadow in IE9 or later, you need to set "border-collapse" to "separate". Mobile: Limited support? At least iOS.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionBoxShadowDialog
(org.eclipse.swt.widgets.Shell parent, String boxShadow) Create the dialog.Method Summary
Modifier and TypeMethodDescriptionvoid
modifyText
(org.eclipse.swt.events.ModifyEvent e) Modified entries: validate.open()
Open the dialog.void
Color changed.void
widgetDefaultSelected
(org.eclipse.swt.events.SelectionEvent e) Not used.void
widgetSelected
(org.eclipse.swt.events.SelectionEvent e) Inset selected.Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
Constructor Details
BoxShadowDialog
Create the dialog.
Method Details
open
Open the dialog.- Returns:
- the text shadow string.
modifyText
public void modifyText(org.eclipse.swt.events.ModifyEvent e) Modified entries: validate.- Specified by:
modifyText
in interfaceorg.eclipse.swt.events.ModifyListener
stateChanged
Color changed.- Specified by:
stateChanged
in interfaceChangeListener
widgetSelected
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) Inset selected.- Specified by:
widgetSelected
in interfaceorg.eclipse.swt.events.SelectionListener
widgetDefaultSelected
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e) Not used.- Specified by:
widgetDefaultSelected
in interfaceorg.eclipse.swt.events.SelectionListener