net.sourceforge.atunes.gui.dockableView
Class DockableFrame

java.lang.Object
  extended by net.sourceforge.atunes.gui.dockableView.DockableWindow
      extended by net.sourceforge.atunes.gui.dockableView.DockableFrame
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener

public class DockableFrame
extends DockableWindow

The Class DockableFrame.


Field Summary
 
Fields inherited from class net.sourceforge.atunes.gui.dockableView.DockableWindow
container, DOCKABLE_BOUNDS, eastPanel, frame, height, hidden, listener, location, menu, nePanel, northPanel, nwPanel, panel, pressed, RESIZABLE_BORDER, sePanel, southPanel, swPanel, title, titlePanel, topBar, westPanel
 
Constructor Summary
DockableFrame(int width, int heigth, java.awt.Dimension minSize, DockFramePositionListener listener, CloseListener closeListener)
          Instantiates a new dockable frame.
 
Method Summary
protected  void addNorthResizableBorder()
          Adds the north resizable border.
 int getExtendedState()
          Gets the extended state.
 javax.swing.JFrame getFrame()
          Gets the frame.
 void setDefaultCloseOperation(int op)
          Sets the default close operation.
 void setExtendedState(int state)
          Sets the extended state.
 void setIcon(java.awt.Image i)
          Sets an icon to window.
 void setLocationRelativeTo(java.awt.Component c)
          Sets the location relative to.
 void setSize(java.awt.Dimension d)
          Sets the size.
 void setTitle(java.lang.String s)
          Sets the title.
 
Methods inherited from class net.sourceforge.atunes.gui.dockableView.DockableWindow
addContent, addResizableBorders, getBounds, getInsideBounds, getLocation, getOutsideBounds, isHidden, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, setBackground, setHidden, setLocation, setMenu, setTitleBarBackground, setVisible, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DockableFrame

public DockableFrame(int width,
                     int heigth,
                     java.awt.Dimension minSize,
                     DockFramePositionListener listener,
                     CloseListener closeListener)
Instantiates a new dockable frame.

Parameters:
width - the width
heigth - the heigth
minSize - the min size
listener - the listener
closeListener - the close listener
Method Detail

addNorthResizableBorder

protected void addNorthResizableBorder()
Description copied from class: DockableWindow
Adds the north resizable border.

Overrides:
addNorthResizableBorder in class DockableWindow

getExtendedState

public int getExtendedState()
Gets the extended state.

Returns:
the extended state

getFrame

public javax.swing.JFrame getFrame()
Gets the frame.

Returns:
the frame

setDefaultCloseOperation

public void setDefaultCloseOperation(int op)
Description copied from class: DockableWindow
Sets the default close operation.

Specified by:
setDefaultCloseOperation in class DockableWindow
Parameters:
op - the new default close operation

setExtendedState

public void setExtendedState(int state)
Sets the extended state.

Parameters:
state - the new extended state

setIcon

public void setIcon(java.awt.Image i)
Description copied from class: DockableWindow
Sets an icon to window.

Specified by:
setIcon in class DockableWindow
Parameters:
i - the i

setLocationRelativeTo

public void setLocationRelativeTo(java.awt.Component c)
Description copied from class: DockableWindow
Sets the location relative to.

Specified by:
setLocationRelativeTo in class DockableWindow
Parameters:
c - the new location relative to

setSize

public void setSize(java.awt.Dimension d)
Sets the size.

Parameters:
d - the new size

setTitle

public void setTitle(java.lang.String s)
Description copied from class: DockableWindow
Sets the title.

Specified by:
setTitle in class DockableWindow
Parameters:
s - the new title


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.