Class Utils.ShellMetricsResizeListener

  • All Implemented Interfaces:
    org.eclipse.swt.widgets.Listener
    Enclosing class:
    Utils

    private static class Utils.ShellMetricsResizeListener
    extends java.lang.Object
    implements org.eclipse.swt.widgets.Listener
    • Constructor Summary

      Constructors 
      Constructor Description
      ShellMetricsResizeListener​(org.eclipse.swt.widgets.Shell shell, java.lang.String sConfigPrefix)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private int calcState​(org.eclipse.swt.widgets.Shell shell)  
      void handleEvent​(org.eclipse.swt.widgets.Event event)  
      • Methods inherited from class java.lang.Object

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

      • sConfigPrefix

        private final java.lang.String sConfigPrefix
      • currentState

        private int currentState
      • currentBounds

        private org.eclipse.swt.graphics.Rectangle currentBounds
      • savedState

        private int savedState
      • savedBounds

        private org.eclipse.swt.graphics.Rectangle savedBounds
    • Constructor Detail

      • ShellMetricsResizeListener

        ShellMetricsResizeListener​(org.eclipse.swt.widgets.Shell shell,
                                   java.lang.String sConfigPrefix)
    • Method Detail

      • calcState

        private int calcState​(org.eclipse.swt.widgets.Shell shell)
      • handleEvent

        public void handleEvent​(org.eclipse.swt.widgets.Event event)
        Specified by:
        handleEvent in interface org.eclipse.swt.widgets.Listener