org.noos.xing.mydoggy.plaf
Class MyDoggyToolWindowBar

java.lang.Object
  extended by org.noos.xing.mydoggy.plaf.PropertyChangeEventSource
      extended by org.noos.xing.mydoggy.plaf.MyDoggyToolWindowBar
All Implemented Interfaces:
PropertyChangeListener, EventListener, SwingConstants, org.noos.xing.mydoggy.Observable, Cleaner, org.noos.xing.mydoggy.ToolWindowBar

public class MyDoggyToolWindowBar
extends PropertyChangeEventSource
implements org.noos.xing.mydoggy.ToolWindowBar, SwingConstants, PropertyChangeListener

Author:
Angelo De Caro

Nested Class Summary
 class MyDoggyToolWindowBar.ActiveBeforeListener
           
 class MyDoggyToolWindowBar.AvailableListener
           
 class MyDoggyToolWindowBar.BarLengthListener
           
 class MyDoggyToolWindowBar.DividerSizeListener
           
 class MyDoggyToolWindowBar.DockedDockableDropPanel
           
 class MyDoggyToolWindowBar.DragSupportListener
           
 class MyDoggyToolWindowBar.IconListener
           
 class MyDoggyToolWindowBar.IndexListener
           
 class MyDoggyToolWindowBar.MaximizedListener
           
 class MyDoggyToolWindowBar.RepresentativeAnchorWrapper
           
 class MyDoggyToolWindowBar.ShowUnavailableToolsListener
           
 class MyDoggyToolWindowBar.TitleListener
           
 class MyDoggyToolWindowBar.TypeListener
           
 class MyDoggyToolWindowBar.VisibleBeforeListener
           
 class MyDoggyToolWindowBar.VisibleDockedListener
           
 class MyDoggyToolWindowBar.VisibleFloatingFreeListener
           
 class MyDoggyToolWindowBar.VisibleFloatingListener
           
 class MyDoggyToolWindowBar.VisibleFloatingLiveListener
           
 class MyDoggyToolWindowBar.VisibleListener
           
 class MyDoggyToolWindowBar.VisibleSlidingListener
           
 
Nested classes/interfaces inherited from class org.noos.xing.mydoggy.plaf.PropertyChangeEventSource
PropertyChangeEventSource.ExcludePropertyChangeListener
 
Field Summary
protected  boolean aggregateMode
           
protected  org.noos.xing.mydoggy.ToolWindowAnchor anchor
           
protected  int availableTools
           
protected  int dividerSize
           
protected  DockableDropPanel dockableDropPanel
           
protected  boolean horizontal
           
static int HORIZONTAL
           
protected  int length
           
protected  MyDoggyToolWindowManager manager
           
protected  MultiSplitDockableContainer multiSplitDockableContainer
           
protected  int orientation
           
protected  JPopupMenu popupMenu
           
protected  PropertyChangeSupport propertyChangeSupport
           
protected  JSplitPane splitPane
           
protected  boolean temporarilyVisible
           
protected  boolean toolsVisible
           
protected  byte[] toolsWorkspace
           
protected  JPanel toolWindowBarContainer
           
protected  info.clearthought.layout.TableLayout toolWindowBarContainerLayout
           
protected  ToolWindowScrollBar toolWindowScrollBar
           
static int VERTICAL_LEFT
           
static int VERTICAL_RIGHT
           
protected  boolean visible
           
 
Fields inherited from class org.noos.xing.mydoggy.plaf.PropertyChangeEventSource
firePublicEventQuestion, plafChangeSupport, publicChangeSupport, publicEvent
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
MyDoggyToolWindowBar(MyDoggyToolWindowManager manager, JSplitPane splitPane, org.noos.xing.mydoggy.ToolWindowAnchor anchor)
           
 
Method Summary
protected  void addRepresentativeAnchor(DockableDescriptor dockableDescriptor, Component representativeAnchor, int index)
           
 boolean areToolsVisible()
           
 void deactiveTool(org.noos.xing.mydoggy.ToolWindow toolWindow)
           
 void ensureVisible(Component component)
           
 org.noos.xing.mydoggy.ToolWindowAnchor getAnchor()
           
 int getAvailableTools()
           
 Container getContainer()
           
 int getDividerSize()
           
 Object getLayout()
           
 int getLength()
           
 JPopupMenu getPopupMenu()
           
protected  info.clearthought.layout.TableLayoutConstraints getRepresentativeAnchorConstraints(Component representativeAnchor)
           
 int getRepresentativeAnchorIndex(Component representativeAnchor)
           
 int getSize()
           
protected  int getSplitDividerLocation()
           
 JSplitPane getSplitPane()
           
protected  Component getSplitPaneContent()
           
 byte[] getToolsWorkspace()
           
 org.noos.xing.mydoggy.ToolWindowManager getToolWindowManager()
           
 org.noos.xing.mydoggy.ToolWindow[] getToolWindows()
           
 void hideTool(org.noos.xing.mydoggy.ToolWindow toolWindow)
           
protected  void initComponents()
           
protected  void initListeners()
           
 boolean isAggregateMode()
           
 boolean isTemporarilyVisible()
           
 boolean isValueAdjusting()
           
 boolean isVisible()
           
 void propertyChange(PropertyChangeEvent evt)
           
protected  void removeRepresentativeAnchor(DockableDescriptor dockableDescriptor, Component representativeAnchor)
           
 void setAggregateMode(boolean enable)
           
 void setDividerSize(int size)
           
 void setLayout(Object layout)
           
 void setLength(int length)
           
 void setPopupMenu(JPopupMenu popupMenu)
           
protected  void setSplitDividerLocation(int dividerLocation)
           
 void setTemporarilyVisible(boolean temporarilyVisible)
           
 void setToolsVisible(boolean visible)
           
 void setToolWorkspace(byte[] workspace, boolean toolsVisible)
           
 void setVisible(boolean visible)
           
 String toString()
           
 void updateMaximizedToolSize()
           
 
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, wait, wait, wait
 
Methods inherited from interface org.noos.xing.mydoggy.Observable
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

VERTICAL_LEFT

public static final int VERTICAL_LEFT
See Also:
Constant Field Values

VERTICAL_RIGHT

public static final int VERTICAL_RIGHT
See Also:
Constant Field Values

HORIZONTAL

public static final int HORIZONTAL
See Also:
Constant Field Values

manager

protected MyDoggyToolWindowManager manager

anchor

protected org.noos.xing.mydoggy.ToolWindowAnchor anchor

dividerSize

protected int dividerSize

aggregateMode

protected boolean aggregateMode

visible

protected boolean visible

toolWindowScrollBar

protected ToolWindowScrollBar toolWindowScrollBar

toolWindowBarContainer

protected JPanel toolWindowBarContainer

toolWindowBarContainerLayout

protected info.clearthought.layout.TableLayout toolWindowBarContainerLayout

splitPane

protected JSplitPane splitPane

multiSplitDockableContainer

protected MultiSplitDockableContainer multiSplitDockableContainer

dockableDropPanel

protected DockableDropPanel dockableDropPanel

popupMenu

protected JPopupMenu popupMenu

length

protected int length

availableTools

protected int availableTools

orientation

protected int orientation

horizontal

protected boolean horizontal

propertyChangeSupport

protected PropertyChangeSupport propertyChangeSupport

temporarilyVisible

protected boolean temporarilyVisible

toolsVisible

protected boolean toolsVisible

toolsWorkspace

protected byte[] toolsWorkspace
Constructor Detail

MyDoggyToolWindowBar

public MyDoggyToolWindowBar(MyDoggyToolWindowManager manager,
                            JSplitPane splitPane,
                            org.noos.xing.mydoggy.ToolWindowAnchor anchor)
Method Detail

getToolWindowManager

public org.noos.xing.mydoggy.ToolWindowManager getToolWindowManager()
Specified by:
getToolWindowManager in interface org.noos.xing.mydoggy.ToolWindowBar

getAnchor

public org.noos.xing.mydoggy.ToolWindowAnchor getAnchor()
Specified by:
getAnchor in interface org.noos.xing.mydoggy.ToolWindowBar

getDividerSize

public int getDividerSize()
Specified by:
getDividerSize in interface org.noos.xing.mydoggy.ToolWindowBar

setDividerSize

public void setDividerSize(int size)
Specified by:
setDividerSize in interface org.noos.xing.mydoggy.ToolWindowBar

setAggregateMode

public void setAggregateMode(boolean enable)
Specified by:
setAggregateMode in interface org.noos.xing.mydoggy.ToolWindowBar

isAggregateMode

public boolean isAggregateMode()
Specified by:
isAggregateMode in interface org.noos.xing.mydoggy.ToolWindowBar

getPopupMenu

public JPopupMenu getPopupMenu()
Specified by:
getPopupMenu in interface org.noos.xing.mydoggy.ToolWindowBar

setLength

public void setLength(int length)
Specified by:
setLength in interface org.noos.xing.mydoggy.ToolWindowBar

getLength

public int getLength()
Specified by:
getLength in interface org.noos.xing.mydoggy.ToolWindowBar

setPopupMenu

public void setPopupMenu(JPopupMenu popupMenu)
Specified by:
setPopupMenu in interface org.noos.xing.mydoggy.ToolWindowBar

getToolWindows

public org.noos.xing.mydoggy.ToolWindow[] getToolWindows()
Specified by:
getToolWindows in interface org.noos.xing.mydoggy.ToolWindowBar

isVisible

public boolean isVisible()
Specified by:
isVisible in interface org.noos.xing.mydoggy.ToolWindowBar

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface org.noos.xing.mydoggy.ToolWindowBar

areToolsVisible

public boolean areToolsVisible()
Specified by:
areToolsVisible in interface org.noos.xing.mydoggy.ToolWindowBar

setToolsVisible

public void setToolsVisible(boolean visible)
Specified by:
setToolsVisible in interface org.noos.xing.mydoggy.ToolWindowBar

propertyChange

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

toString

public String toString()
Overrides:
toString in class Object

getLayout

public Object getLayout()

setLayout

public void setLayout(Object layout)

getContainer

public Container getContainer()

getSplitPane

public JSplitPane getSplitPane()

ensureVisible

public void ensureVisible(Component component)

getAvailableTools

public int getAvailableTools()

isTemporarilyVisible

public boolean isTemporarilyVisible()

setTemporarilyVisible

public void setTemporarilyVisible(boolean temporarilyVisible)

getRepresentativeAnchorIndex

public int getRepresentativeAnchorIndex(Component representativeAnchor)

deactiveTool

public void deactiveTool(org.noos.xing.mydoggy.ToolWindow toolWindow)

hideTool

public void hideTool(org.noos.xing.mydoggy.ToolWindow toolWindow)

getSize

public int getSize()

isValueAdjusting

public boolean isValueAdjusting()

getToolsWorkspace

public byte[] getToolsWorkspace()

setToolWorkspace

public void setToolWorkspace(byte[] workspace,
                             boolean toolsVisible)

updateMaximizedToolSize

public void updateMaximizedToolSize()

initComponents

protected void initComponents()

initListeners

protected void initListeners()

getSplitDividerLocation

protected int getSplitDividerLocation()

setSplitDividerLocation

protected void setSplitDividerLocation(int dividerLocation)

getSplitPaneContent

protected Component getSplitPaneContent()

addRepresentativeAnchor

protected void addRepresentativeAnchor(DockableDescriptor dockableDescriptor,
                                       Component representativeAnchor,
                                       int index)

removeRepresentativeAnchor

protected void removeRepresentativeAnchor(DockableDescriptor dockableDescriptor,
                                          Component representativeAnchor)

getRepresentativeAnchorConstraints

protected info.clearthought.layout.TableLayoutConstraints getRepresentativeAnchorConstraints(Component representativeAnchor)


Copyright © 2012. All Rights Reserved.