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

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.DefaultFloatingLiveTypeDescriptor
All Implemented Interfaces:
PropertyChangeListener, EventListener, org.noos.xing.mydoggy.FloatingLiveTypeDescriptor, org.noos.xing.mydoggy.Observable, Cleaner, InternalTypeDescriptor, org.noos.xing.mydoggy.ToolWindowTypeDescriptor

public class DefaultFloatingLiveTypeDescriptor
extends DefaultToolWindowTypeDescriptor
implements org.noos.xing.mydoggy.FloatingLiveTypeDescriptor, 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
DefaultFloatingLiveTypeDescriptor()
           
DefaultFloatingLiveTypeDescriptor(ToolWindowDescriptor toolWindowDescriptor, DefaultFloatingLiveTypeDescriptor parent, Point location, Dimension size, int transparentDelay, float transparentRatio, boolean useTransparentMode, boolean enabled, boolean animating, boolean autoHide, boolean idVisibleOnTitleBar, boolean hideRepresentativeButtonOnVisible, boolean titleBarButtonsVisible, boolean titleBarVisible, boolean resizable)
           
 
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 isResizable()
           
 boolean isTransparentMode()
           
 void propertyChange(PropertyChangeEvent evt)
           
 void setLocation(int x, int y)
           
 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

DefaultFloatingLiveTypeDescriptor

public DefaultFloatingLiveTypeDescriptor()

DefaultFloatingLiveTypeDescriptor

public DefaultFloatingLiveTypeDescriptor(ToolWindowDescriptor toolWindowDescriptor,
                                         DefaultFloatingLiveTypeDescriptor parent,
                                         Point location,
                                         Dimension size,
                                         int transparentDelay,
                                         float transparentRatio,
                                         boolean useTransparentMode,
                                         boolean enabled,
                                         boolean animating,
                                         boolean autoHide,
                                         boolean idVisibleOnTitleBar,
                                         boolean hideRepresentativeButtonOnVisible,
                                         boolean titleBarButtonsVisible,
                                         boolean titleBarVisible,
                                         boolean resizable)
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.FloatingLiveTypeDescriptor

getLocation

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

setSize

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

getSize

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

getTransparentRatio

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

setTransparentRatio

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

isTransparentMode

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

setTransparentMode

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

getTransparentDelay

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

setTransparentDelay

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

isResizable

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

setResizable

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

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.