|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
net.sourceforge.atunes.gui.views.controls.CustomFrame
net.sourceforge.atunes.gui.StandardFrame
public class StandardFrame
The Class StandardFrame.
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 |
---|
public static final int NAVIGATION_PANEL_WIDTH
public static final int NAVIGATION_PANEL_MINIMUM_WIDTH
public static final int NAVIGATION_PANEL_MAXIMUM_WIDTH
public static final int AUDIO_SCROBBLERPANEL_WIDTH
public static final int AUDIO_SCROBBLER_MINIMUM_WIDTH
public static final int FILE_PROPERTIES_PANEL_HEIGHT
public static final int PLAY_LIST_PANEL_WIDTH
public static final int NAVIGATOR_SPLIT_PANE_DIVIDER_LOCATION
public static final int margin
Constructor Detail |
---|
public StandardFrame()
Method Detail |
---|
public void create()
Frame
create
in interface Frame
public void dispose()
dispose
in class java.awt.Window
public void about()
public ApplicationMenuBar getAppMenuBar()
Frame
getAppMenuBar
in interface Frame
public AudioScrobblerPanel getAudioScrobblerPanel()
Frame
getAudioScrobblerPanel
in interface Frame
public javax.swing.JFrame getFrame()
Frame
getFrame
in interface Frame
public javax.swing.JSplitPane getLeftVerticalSplitPane()
public NavigationPanel getNavigationPanel()
Frame
getNavigationPanel
in interface Frame
public PlayerControlsPanel getPlayerControls()
Frame
getPlayerControls
in interface Frame
public PlayListPanel getPlayListPanel()
Frame
getPlayListPanel
in interface Frame
public PlayListTable getPlayListTable()
Frame
getPlayListTable
in interface Frame
public FilePropertiesPanel getPropertiesPanel()
Frame
getPropertiesPanel
in interface Frame
public javax.swing.JSplitPane getRightVerticalSplitPane()
public JXStatusBar getStatusBar()
public ToolBar getToolBar()
Frame
getToolBar
in interface Frame
public void setCenterStatusBar(java.lang.String text, java.lang.String toolTip)
Frame
setCenterStatusBar
in interface Frame
text
- the texttoolTip
- the tool tippublic void setLeftStatusBarText(java.lang.String text, java.lang.String toolTip)
Frame
setLeftStatusBarText
in interface Frame
text
- the texttoolTip
- the tool tippublic void setLeftVerticalSplitPaneDividerLocationAndSetWindowSize(int location)
location
- the new left vertical split pane divider location and set
window sizepublic void setRightStatusBar(java.lang.String text, java.lang.String toolTip)
Frame
setRightStatusBar
in interface Frame
text
- the texttoolTip
- the tool tippublic void setRightVerticalSplitPaneDividerLocationAndSetWindowSize(int location)
location
- the new right vertical split pane divider location and set
window sizepublic void setStatusBarDeviceLabelText(java.lang.String text)
Frame
setStatusBarDeviceLabelText
in interface Frame
text
- the textpublic void setVisible(boolean visible)
Frame
setVisible
in interface Frame
setVisible
in class java.awt.Window
visible
- the new visiblepublic void setWindowSize()
public void showAudioScrobblerPanel(boolean show, boolean changeSize)
Frame
showAudioScrobblerPanel
in interface Frame
show
- the showchangeSize
- the change sizepublic void showNavigationPanel(boolean show, boolean changeSize)
Frame
showNavigationPanel
in interface Frame
show
- the showchangeSize
- the change sizepublic void showNavigationTable(boolean show)
Frame
showNavigationTable
in interface Frame
show
- the showpublic void showProgressBar(boolean visible, java.lang.String tooltip)
Frame
showProgressBar
in interface Frame
visible
- the visibletooltip
- the tooltippublic void showSongProperties(boolean show)
Frame
showSongProperties
in interface Frame
show
- the showpublic void showStatusBar(boolean show)
Frame
showStatusBar
in interface Frame
show
- the showpublic void showToolBar(boolean show)
Frame
showToolBar
in interface Frame
public void showStatusBarDeviceLabel(boolean visible)
Frame
showStatusBarDeviceLabel
in interface Frame
visible
- the visiblepublic void showStatusBarNewPodcastFeedEntriesLabel(boolean visible)
Frame
showStatusBarNewPodcastFeedEntriesLabel
in interface Frame
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |