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 Details

    • BoxShadowDialog

      public BoxShadowDialog(org.eclipse.swt.widgets.Shell parent, String boxShadow)
      Create the dialog.
  • Method Details

    • open

      public 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 interface org.eclipse.swt.events.ModifyListener
    • stateChanged

      public void stateChanged(ChangeEvent e)
      Color changed.
      Specified by:
      stateChanged in interface ChangeListener
    • widgetSelected

      public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
      Inset selected.
      Specified by:
      widgetSelected in interface org.eclipse.swt.events.SelectionListener
    • widgetDefaultSelected

      public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
      Not used.
      Specified by:
      widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener