Class BasicLizziePaneUI

  • All Implemented Interfaces:
    javax.swing.SwingConstants

    public class BasicLizziePaneUI
    extends LizziePaneUI
    implements javax.swing.SwingConstants
    • Field Detail

      • focusedCompIndex

        protected int focusedCompIndex
      • dockingListener

        protected javax.swing.event.MouseInputListener dockingListener
      • propertyListener

        protected java.beans.PropertyChangeListener propertyListener
      • lizziePaneContListener

        protected java.awt.event.ContainerListener lizziePaneContListener
      • lizziePaneFocusListener

        protected java.awt.event.FocusListener lizziePaneFocusListener
      • constraintBeforeFloating

        protected java.lang.String constraintBeforeFloating
    • Constructor Detail

      • BasicLizziePaneUI

        public BasicLizziePaneUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.ComponentUI
      • uninstallUI

        public void uninstallUI​(javax.swing.JComponent c)
        Overrides:
        uninstallUI in class javax.swing.plaf.ComponentUI
      • installDefaults

        protected void installDefaults()
      • uninstallDefaults

        protected void uninstallDefaults()
      • installComponents

        protected void installComponents()
      • uninstallComponents

        protected void uninstallComponents()
      • installListeners

        public void installListeners()
      • uninstallListeners

        public void uninstallListeners()
      • installKeyboardActions

        protected void installKeyboardActions()
      • uninstallKeyboardActions

        protected void uninstallKeyboardActions()
      • createFloatingWindow

        protected javax.swing.RootPaneContainer createFloatingWindow​(LizziePane lizziePane)
        Creates a window which contains the lizziePane after it has been dragged out from its container
        Returns:
        a RootPaneContainer object, containing the lizziePane.
      • setFloatingLocation

        public void setFloatingLocation​(int x,
                                        int y)
      • isFloating

        public boolean isFloating()
      • setFloating

        public void setFloating​(boolean b,
                                java.awt.Point p)
      • canDock

        public boolean canDock​(java.awt.Component c,
                               java.awt.Point p)
      • dragTo

        protected void dragTo​(java.awt.Point position,
                              java.awt.Point origin)
      • floatAt

        protected void floatAt​(java.awt.Point position,
                               java.awt.Point origin)
      • toWindow

        public void toWindow​(java.awt.Point position,
                             java.awt.Dimension size)
        Specified by:
        toWindow in class LizziePaneUI
      • createLizziePaneContListener

        protected java.awt.event.ContainerListener createLizziePaneContListener()
      • createLizziePaneFocusListener

        protected java.awt.event.FocusListener createLizziePaneFocusListener()
      • createPropertyListener

        protected java.beans.PropertyChangeListener createPropertyListener()
      • createDockingListener

        protected javax.swing.event.MouseInputListener createDockingListener()
      • createFrameListener

        protected java.awt.event.WindowListener createFrameListener()
      • paintDragWindow

        protected void paintDragWindow​(java.awt.Graphics g)
        Paints the contents of the window used for dragging.
        Parameters:
        g - Graphics to paint to.
        Throws:
        java.lang.NullPointerException - is g is null