net.sourceforge.atunes.gui
Class StandardFrame

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by net.sourceforge.atunes.gui.views.controls.CustomFrame
                          extended by net.sourceforge.atunes.gui.StandardFrame
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, Frame

public class StandardFrame
extends CustomFrame
implements Frame

The Class StandardFrame.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static int AUDIO_SCROBBLER_MINIMUM_WIDTH
          The Constant AUDIO_SCROBBLER_MINIMUM_WIDTH.
static int AUDIO_SCROBBLERPANEL_WIDTH
          The Constant AUDIO_SCROBBLERPANEL_WIDTH.
static int FILE_PROPERTIES_PANEL_HEIGHT
          The Constant FILE_PROPERTIES_PANEL_HEIGHT.
static int margin
          The Constant margin.
static int NAVIGATION_PANEL_MAXIMUM_WIDTH
          The Constant NAVIGATION_PANEL_MAXIMUM_WIDTH.
static int NAVIGATION_PANEL_MINIMUM_WIDTH
          The Constant NAVIGATION_PANEL_MINIMUM_WIDTH.
static int NAVIGATION_PANEL_WIDTH
          The Constant NAVIGATION_PANEL_WIDTH.
static int NAVIGATOR_SPLIT_PANE_DIVIDER_LOCATION
          The Constant NAVIGATOR_SPLIT_PANE_DIVIDER_LOCATION.
static int PLAY_LIST_PANEL_WIDTH
          The Constant PLAY_LIST_PANEL_WIDTH.
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
StandardFrame()
          Instantiates a new standard frame.
 
Method Summary
 void about()
          This method is called from the OSXAdapter
 void create()
          Creates the.
 void dispose()
           
 ApplicationMenuBar getAppMenuBar()
          Gets the app menu bar.
 AudioScrobblerPanel getAudioScrobblerPanel()
          Gets the audio scrobbler panel.
 javax.swing.JFrame getFrame()
          Gets the frame.
 javax.swing.JSplitPane getLeftVerticalSplitPane()
          Gets the left vertical split pane.
 NavigationPanel getNavigationPanel()
          Gets the navigation panel.
 PlayerControlsPanel getPlayerControls()
          Gets the player controls.
 PlayListPanel getPlayListPanel()
          Gets the play list panel.
 PlayListTable getPlayListTable()
          Gets the play list table.
 FilePropertiesPanel getPropertiesPanel()
          Gets the properties panel.
 javax.swing.JSplitPane getRightVerticalSplitPane()
          Gets the right vertical split pane.
 JXStatusBar getStatusBar()
          Gets the status bar.
 ToolBar getToolBar()
          Gets the tool bar.
 void setCenterStatusBar(java.lang.String text, java.lang.String toolTip)
          Sets the center status bar.
 void setLeftStatusBarText(java.lang.String text, java.lang.String toolTip)
          Sets the left status bar text.
 void setLeftVerticalSplitPaneDividerLocationAndSetWindowSize(int location)
          Sets the left vertical split pane divider location and set window size.
 void setRightStatusBar(java.lang.String text, java.lang.String toolTip)
          Sets the right status bar.
 void setRightVerticalSplitPaneDividerLocationAndSetWindowSize(int location)
          Sets the right vertical split pane divider location and set window size.
 void setStatusBarDeviceLabelText(java.lang.String text)
          Sets the status bar image label text.
 void setVisible(boolean visible)
          Sets the visible.
 void setWindowSize()
          Sets the window size.
 void showAudioScrobblerPanel(boolean show, boolean changeSize)
          Show audio scrobbler panel.
 void showNavigationPanel(boolean show, boolean changeSize)
          Show navigation panel.
 void showNavigationTable(boolean show)
          Show navigation table.
 void showProgressBar(boolean visible, java.lang.String tooltip)
          Show progress bar.
 void showSongProperties(boolean show)
          Show song properties.
 void showStatusBar(boolean show)
          Show status bar.
 void showStatusBarDeviceLabel(boolean visible)
          Show status bar device info.
 void showStatusBarNewPodcastFeedEntriesLabel(boolean visible)
          Show podcast info in status bar.
 void showToolBar(boolean show)
          Show tool bar.
 
Methods inherited from class net.sourceforge.atunes.gui.views.controls.CustomFrame
enableCloseActionWithEscapeKey, enableDisposeActionWithEscapeKey
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sourceforge.atunes.gui.Frame
getExtendedState, getLocation, getSize, isVisible, setDefaultCloseOperation, setExtendedState, setLocation, setLocationRelativeTo, setTitle
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

NAVIGATION_PANEL_WIDTH

public static final int NAVIGATION_PANEL_WIDTH
The Constant NAVIGATION_PANEL_WIDTH.


NAVIGATION_PANEL_MINIMUM_WIDTH

public static final int NAVIGATION_PANEL_MINIMUM_WIDTH
The Constant NAVIGATION_PANEL_MINIMUM_WIDTH.


NAVIGATION_PANEL_MAXIMUM_WIDTH

public static final int NAVIGATION_PANEL_MAXIMUM_WIDTH
The Constant NAVIGATION_PANEL_MAXIMUM_WIDTH.


AUDIO_SCROBBLERPANEL_WIDTH

public static final int AUDIO_SCROBBLERPANEL_WIDTH
The Constant AUDIO_SCROBBLERPANEL_WIDTH.


AUDIO_SCROBBLER_MINIMUM_WIDTH

public static final int AUDIO_SCROBBLER_MINIMUM_WIDTH
The Constant AUDIO_SCROBBLER_MINIMUM_WIDTH.


FILE_PROPERTIES_PANEL_HEIGHT

public static final int FILE_PROPERTIES_PANEL_HEIGHT
The Constant FILE_PROPERTIES_PANEL_HEIGHT.

See Also:
Constant Field Values

PLAY_LIST_PANEL_WIDTH

public static final int PLAY_LIST_PANEL_WIDTH
The Constant PLAY_LIST_PANEL_WIDTH.


NAVIGATOR_SPLIT_PANE_DIVIDER_LOCATION

public static final int NAVIGATOR_SPLIT_PANE_DIVIDER_LOCATION
The Constant NAVIGATOR_SPLIT_PANE_DIVIDER_LOCATION.


margin

public static final int margin
The Constant margin.

See Also:
Constant Field Values
Constructor Detail

StandardFrame

public StandardFrame()
Instantiates a new standard frame.

Method Detail

create

public void create()
Description copied from interface: Frame
Creates the.

Specified by:
create in interface Frame

dispose

public void dispose()
Overrides:
dispose in class java.awt.Window

about

public void about()
This method is called from the OSXAdapter


getAppMenuBar

public ApplicationMenuBar getAppMenuBar()
Description copied from interface: Frame
Gets the app menu bar.

Specified by:
getAppMenuBar in interface Frame
Returns:
the app menu bar

getAudioScrobblerPanel

public AudioScrobblerPanel getAudioScrobblerPanel()
Description copied from interface: Frame
Gets the audio scrobbler panel.

Specified by:
getAudioScrobblerPanel in interface Frame
Returns:
the audio scrobbler panel

getFrame

public javax.swing.JFrame getFrame()
Description copied from interface: Frame
Gets the frame.

Specified by:
getFrame in interface Frame
Returns:
the frame

getLeftVerticalSplitPane

public javax.swing.JSplitPane getLeftVerticalSplitPane()
Gets the left vertical split pane.

Returns:
the left vertical split pane

getNavigationPanel

public NavigationPanel getNavigationPanel()
Description copied from interface: Frame
Gets the navigation panel.

Specified by:
getNavigationPanel in interface Frame
Returns:
the navigation panel

getPlayerControls

public PlayerControlsPanel getPlayerControls()
Description copied from interface: Frame
Gets the player controls.

Specified by:
getPlayerControls in interface Frame
Returns:
the player controls

getPlayListPanel

public PlayListPanel getPlayListPanel()
Description copied from interface: Frame
Gets the play list panel.

Specified by:
getPlayListPanel in interface Frame
Returns:
the play list panel

getPlayListTable

public PlayListTable getPlayListTable()
Description copied from interface: Frame
Gets the play list table.

Specified by:
getPlayListTable in interface Frame
Returns:
the play list table

getPropertiesPanel

public FilePropertiesPanel getPropertiesPanel()
Description copied from interface: Frame
Gets the properties panel.

Specified by:
getPropertiesPanel in interface Frame
Returns:
the properties panel

getRightVerticalSplitPane

public javax.swing.JSplitPane getRightVerticalSplitPane()
Gets the right vertical split pane.

Returns:
the right vertical split pane

getStatusBar

public JXStatusBar getStatusBar()
Gets the status bar.

Returns:
the status bar

getToolBar

public ToolBar getToolBar()
Description copied from interface: Frame
Gets the tool bar.

Specified by:
getToolBar in interface Frame
Returns:
the tool bar

setCenterStatusBar

public void setCenterStatusBar(java.lang.String text,
                               java.lang.String toolTip)
Description copied from interface: Frame
Sets the center status bar.

Specified by:
setCenterStatusBar in interface Frame
Parameters:
text - the text
toolTip - the tool tip

setLeftStatusBarText

public void setLeftStatusBarText(java.lang.String text,
                                 java.lang.String toolTip)
Description copied from interface: Frame
Sets the left status bar text.

Specified by:
setLeftStatusBarText in interface Frame
Parameters:
text - the text
toolTip - the tool tip

setLeftVerticalSplitPaneDividerLocationAndSetWindowSize

public void setLeftVerticalSplitPaneDividerLocationAndSetWindowSize(int location)
Sets the left vertical split pane divider location and set window size.

Parameters:
location - the new left vertical split pane divider location and set window size

setRightStatusBar

public void setRightStatusBar(java.lang.String text,
                              java.lang.String toolTip)
Description copied from interface: Frame
Sets the right status bar.

Specified by:
setRightStatusBar in interface Frame
Parameters:
text - the text
toolTip - the tool tip

setRightVerticalSplitPaneDividerLocationAndSetWindowSize

public void setRightVerticalSplitPaneDividerLocationAndSetWindowSize(int location)
Sets the right vertical split pane divider location and set window size.

Parameters:
location - the new right vertical split pane divider location and set window size

setStatusBarDeviceLabelText

public void setStatusBarDeviceLabelText(java.lang.String text)
Description copied from interface: Frame
Sets the status bar image label text.

Specified by:
setStatusBarDeviceLabelText in interface Frame
Parameters:
text - the text

setVisible

public void setVisible(boolean visible)
Description copied from interface: Frame
Sets the visible.

Specified by:
setVisible in interface Frame
Overrides:
setVisible in class java.awt.Window
Parameters:
visible - the new visible

setWindowSize

public void setWindowSize()
Sets the window size.


showAudioScrobblerPanel

public void showAudioScrobblerPanel(boolean show,
                                    boolean changeSize)
Description copied from interface: Frame
Show audio scrobbler panel.

Specified by:
showAudioScrobblerPanel in interface Frame
Parameters:
show - the show
changeSize - the change size

showNavigationPanel

public void showNavigationPanel(boolean show,
                                boolean changeSize)
Description copied from interface: Frame
Show navigation panel.

Specified by:
showNavigationPanel in interface Frame
Parameters:
show - the show
changeSize - the change size

showNavigationTable

public void showNavigationTable(boolean show)
Description copied from interface: Frame
Show navigation table.

Specified by:
showNavigationTable in interface Frame
Parameters:
show - the show

showProgressBar

public void showProgressBar(boolean visible,
                            java.lang.String tooltip)
Description copied from interface: Frame
Show progress bar.

Specified by:
showProgressBar in interface Frame
Parameters:
visible - the visible
tooltip - the tooltip

showSongProperties

public void showSongProperties(boolean show)
Description copied from interface: Frame
Show song properties.

Specified by:
showSongProperties in interface Frame
Parameters:
show - the show

showStatusBar

public void showStatusBar(boolean show)
Description copied from interface: Frame
Show status bar.

Specified by:
showStatusBar in interface Frame
Parameters:
show - the show

showToolBar

public void showToolBar(boolean show)
Description copied from interface: Frame
Show tool bar.

Specified by:
showToolBar in interface Frame

showStatusBarDeviceLabel

public void showStatusBarDeviceLabel(boolean visible)
Description copied from interface: Frame
Show status bar device info.

Specified by:
showStatusBarDeviceLabel in interface Frame
Parameters:
visible - the visible

showStatusBarNewPodcastFeedEntriesLabel

public void showStatusBarNewPodcastFeedEntriesLabel(boolean visible)
Description copied from interface: Frame
Show podcast info in status bar.

Specified by:
showStatusBarNewPodcastFeedEntriesLabel in interface Frame


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