Class 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.
      • Methods inherited from class org.eclipse.swt.widgets.Dialog

        checkSubclass, getParent, getStyle, getText, setText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BoxShadowDialog

        public BoxShadowDialog​(org.eclipse.swt.widgets.Shell parent,
                               java.lang.String boxShadow)
        Create the dialog.
    • 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 interface org.eclipse.swt.events.ModifyListener
      • stateChanged

        public void stateChanged​(javax.swing.event.ChangeEvent e)
        Color changed.
        Specified by:
        stateChanged in interface javax.swing.event.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