org.noos.xing.mydoggy.plaf.descriptors
Class DefaultFloatingTypeDescriptor

java.lang.Object
  extended by org.noos.xing.mydoggy.plaf.PropertyChangeEventSource
      extended by org.noos.xing.mydoggy.plaf.descriptors.DefaultToolWindowTypeDescriptor
          extended by org.noos.xing.mydoggy.plaf.descriptors.DefaultFloatingTypeDescriptor
All Implemented Interfaces:
PropertyChangeListener, EventListener, org.noos.xing.mydoggy.FloatingTypeDescriptor, org.noos.xing.mydoggy.Observable, Cleaner, InternalTypeDescriptor, org.noos.xing.mydoggy.ToolWindowTypeDescriptor

public class DefaultFloatingTypeDescriptor
extends DefaultToolWindowTypeDescriptor
implements org.noos.xing.mydoggy.FloatingTypeDescriptor, InternalTypeDescriptor

Author:
Angelo De Caro (angelo.decaro@gmail.com)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.noos.xing.mydoggy.plaf.PropertyChangeEventSource
PropertyChangeEventSource.ExcludePropertyChangeListener
 
Field Summary
 
Fields inherited from class org.noos.xing.mydoggy.plaf.descriptors.DefaultToolWindowTypeDescriptor
animating, autoHide, enabled, hideRepresentativeButtonOnVisible, idVisibleOnTitleBar, titleBarButtonsVisible, titleBarVisible, toolWindowActionMap, toolWindowDescriptor
 
Fields inherited from class org.noos.xing.mydoggy.plaf.PropertyChangeEventSource
firePublicEventQuestion, plafChangeSupport, publicChangeSupport, publicEvent
 
Constructor Summary
DefaultFloatingTypeDescriptor()
           
DefaultFloatingTypeDescriptor(ToolWindowDescriptor toolWindowDescriptor, DefaultFloatingTypeDescriptor parent, Point location, Dimension size, int transparentDelay, float transparentRatio, boolean useTransparentMode, boolean modal, boolean addToTaskBar, boolean alwaysOnTop, boolean osDecorated, boolean enabled, boolean animating, boolean autoHide, boolean idVisibleOnTitleBar, boolean hideRepresentativeButtonOnVisible, boolean resizable, boolean titleBarButtonsVisible, boolean titleBarVisible)
           
 
Method Summary
 org.noos.xing.mydoggy.ToolWindowTypeDescriptor cloneMe(ToolWindowDescriptor toolWindowDescriptor)
           
 Point getLocation()
           
 Dimension getSize()
           
 int getTransparentDelay()
           
 float getTransparentRatio()
           
 org.noos.xing.mydoggy.ToolWindowType getType()
           
 boolean isAddToTaskBar()
           
 boolean isAlwaysOnTop()
           
 boolean isModal()
           
 boolean isOsDecorated()
           
 boolean isResizable()
           
 boolean isTransparentMode()
           
 void propertyChange(PropertyChangeEvent evt)
           
 void setAddToTaskBar(boolean addToTaskBar)
           
 void setAlwaysOnTop(boolean alwaysOnTop)
           
 void setLocation(int x, int y)
           
 void setModal(boolean modal)
           
 void setOsDecorated(boolean osDecorated)
           
 void setResizable(boolean resizable)
           
 void setSize(int width, int height)
           
 void setTransparentDelay(int transparentDelay)
           
 void setTransparentMode(boolean transparentMode)
           
 void setTransparentRatio(float transparentRatio)
           
 
Methods inherited from class org.noos.xing.mydoggy.plaf.descriptors.DefaultToolWindowTypeDescriptor
addToolWindowAction, addToolWindowAction, getToolWindowAction, getToolWindowActions, isAnimating, isAutoHide, isEnabled, isHideRepresentativeButtonOnVisible, isIdVisibleOnTitleBar, isTitleBarButtonsVisible, isTitleBarVisible, removeToolWindowAction, setAnimating, setAutoHide, setEnabled, setHideRepresentativeButtonOnVisible, setIdVisibleOnTitleBar, setTitleBarButtonsVisible, setTitleBarVisible
 
Methods inherited from class org.noos.xing.mydoggy.plaf.PropertyChangeEventSource
addPlafPropertyChangeListener, addPlafPropertyChangeListener, addPlafPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, cleanup, firePlafPropertyChangeEvent, firePlafPropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEventPublicListenerOnly, getPlafPropertyChangeListeners, getPlafPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeListeners, initPropertyChangeSupport, removePlafPropertyChangeListener, removePlafPropertyChangeListener, removePlafPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.noos.xing.mydoggy.ToolWindowTypeDescriptor
addToolWindowAction, addToolWindowAction, getToolWindowAction, getToolWindowActions, isAnimating, isAutoHide, isEnabled, isHideRepresentativeButtonOnVisible, isIdVisibleOnTitleBar, isTitleBarButtonsVisible, isTitleBarVisible, removeToolWindowAction, setAnimating, setAutoHide, setEnabled, setHideRepresentativeButtonOnVisible, setIdVisibleOnTitleBar, setTitleBarButtonsVisible, setTitleBarVisible
 
Methods inherited from interface org.noos.xing.mydoggy.Observable
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

DefaultFloatingTypeDescriptor

public DefaultFloatingTypeDescriptor()

DefaultFloatingTypeDescriptor

public DefaultFloatingTypeDescriptor(ToolWindowDescriptor toolWindowDescriptor,
                                     DefaultFloatingTypeDescriptor parent,
                                     Point location,
                                     Dimension size,
                                     int transparentDelay,
                                     float transparentRatio,
                                     boolean useTransparentMode,
                                     boolean modal,
                                     boolean addToTaskBar,
                                     boolean alwaysOnTop,
                                     boolean osDecorated,
                                     boolean enabled,
                                     boolean animating,
                                     boolean autoHide,
                                     boolean idVisibleOnTitleBar,
                                     boolean hideRepresentativeButtonOnVisible,
                                     boolean resizable,
                                     boolean titleBarButtonsVisible,
                                     boolean titleBarVisible)
Method Detail

getType

public org.noos.xing.mydoggy.ToolWindowType getType()
Specified by:
getType in interface org.noos.xing.mydoggy.ToolWindowTypeDescriptor

setLocation

public void setLocation(int x,
                        int y)
Specified by:
setLocation in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

setSize

public void setSize(int width,
                    int height)
Specified by:
setSize in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

getLocation

public Point getLocation()
Specified by:
getLocation in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

getSize

public Dimension getSize()
Specified by:
getSize in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

isModal

public boolean isModal()
Specified by:
isModal in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

setModal

public void setModal(boolean modal)
Specified by:
setModal in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

getTransparentRatio

public float getTransparentRatio()
Specified by:
getTransparentRatio in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

setTransparentRatio

public void setTransparentRatio(float transparentRatio)
Specified by:
setTransparentRatio in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

isTransparentMode

public boolean isTransparentMode()
Specified by:
isTransparentMode in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

setTransparentMode

public void setTransparentMode(boolean transparentMode)
Specified by:
setTransparentMode in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

getTransparentDelay

public int getTransparentDelay()
Specified by:
getTransparentDelay in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

setTransparentDelay

public void setTransparentDelay(int transparentDelay)
Specified by:
setTransparentDelay in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

setAddToTaskBar

public void setAddToTaskBar(boolean addToTaskBar)
Specified by:
setAddToTaskBar in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

isAddToTaskBar

public boolean isAddToTaskBar()
Specified by:
isAddToTaskBar in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

setAlwaysOnTop

public void setAlwaysOnTop(boolean alwaysOnTop)
Specified by:
setAlwaysOnTop in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

isAlwaysOnTop

public boolean isAlwaysOnTop()
Specified by:
isAlwaysOnTop in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

isOsDecorated

public boolean isOsDecorated()
Specified by:
isOsDecorated in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

setOsDecorated

public void setOsDecorated(boolean osDecorated)
Specified by:
setOsDecorated in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

isResizable

public boolean isResizable()
Specified by:
isResizable in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

setResizable

public void setResizable(boolean resizable)
Specified by:
setResizable in interface org.noos.xing.mydoggy.FloatingTypeDescriptor

cloneMe

public org.noos.xing.mydoggy.ToolWindowTypeDescriptor cloneMe(ToolWindowDescriptor toolWindowDescriptor)
Specified by:
cloneMe in interface InternalTypeDescriptor

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener
Overrides:
propertyChange in class DefaultToolWindowTypeDescriptor


Copyright © 2012. All Rights Reserved.