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:
java.util.EventListener
,javax.swing.event.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, javax.swing.event.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
Constructors Constructor Description BoxShadowDialog(org.eclipse.swt.widgets.Shell parent, java.lang.String boxShadow)
Create the dialog.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
modifyText(org.eclipse.swt.events.ModifyEvent e)
Modified entries: validate.java.lang.String
open()
Open the dialog.void
stateChanged(javax.swing.event.ChangeEvent e)
Color changed.void
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
Not used.void
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
Inset selected.
Method Detail
open
public java.lang.String 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
public void stateChanged(javax.swing.event.ChangeEvent e)
Color changed.- Specified by:
stateChanged
in interfacejavax.swing.event.ChangeListener
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