org.apache.pivot.wtk.skin.terra
Class TerraFileBrowserSheetSkin

java.lang.Object
  extended by org.apache.pivot.wtk.skin.ComponentSkin
      extended by org.apache.pivot.wtk.skin.ContainerSkin
          extended by org.apache.pivot.wtk.skin.WindowSkin
              extended by org.apache.pivot.wtk.skin.terra.TerraSheetSkin
                  extended by org.apache.pivot.wtk.skin.terra.TerraFileBrowserSheetSkin
All Implemented Interfaces:
ComponentKeyListener, ComponentListener, ComponentMouseButtonListener, ComponentMouseListener, ComponentMouseWheelListener, ComponentStateListener, ConstrainedVisual, ContainerListener, FileBrowserSheetListener, SheetCloseListener, SheetStateListener, Skin, Visual, Window.Skin, WindowListener, WindowStateListener

public class TerraFileBrowserSheetSkin
extends TerraSheetSkin
implements FileBrowserSheetListener

Terra file browser sheet skin.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.skin.terra.TerraSheetSkin
TerraSheetSkin.OpenTransition
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.skin.WindowSkin
WindowSkin.WindowFocusTraversalPolicy
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.skin.ContainerSkin
ContainerSkin.IndexFocusTraversalPolicy
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.FileBrowserSheetListener
FileBrowserSheetListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.SheetStateListener
SheetStateListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.WindowListener
WindowListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.WindowStateListener
WindowStateListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentListener
ComponentListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentStateListener
ComponentStateListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseListener
ComponentMouseListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseButtonListener
ComponentMouseButtonListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentKeyListener
ComponentKeyListener.Adapter
 
Field Summary
 
Fields inherited from class org.apache.pivot.wtk.skin.ComponentSkin
SHOW_TOOLTIP_TIMEOUT
 
Constructor Summary
TerraFileBrowserSheetSkin()
           
 
Method Summary
 void disabledFileFilterChanged(FileBrowserSheet fileBrowserSheet, Filter<File> previousDisabledFileFilter)
          Called when a file browser sheet's disabled file filter has changed.
 void install(Component component)
          Associates a skin with a component.
 Vote previewSheetClose(Sheet sheet, boolean result)
          Called to preview a sheet close event.
 void rootDirectoryChanged(FileBrowserSheet fileBrowserSheet, File previousRootDirectory)
          Called when a file browser sheet's root directory has changed.
 void selectedFilesChanged(FileBrowserSheet fileBrowserSheet, Sequence<File> previousSelectedFiles)
          Called when a file browser sheet's selection state has been reset.
 void uninstall()
          Dissociates a skin from a component.
 void windowOpened(Window window)
          Called when a window has opened.
 
Methods inherited from class org.apache.pivot.wtk.skin.terra.TerraSheetSkin
alignToOwner, getBorderColor, getEasedPreferredHeight, getPadding, getPreferredHeight, getPreferredSize, getPreferredWidth, isResizable, keyPressed, layout, paint, setBackgroundColor, setBorderColor, setBorderColor, setPadding, setPadding, setPadding, setPadding, setPadding, setResizable, sheetClosed, sheetCloseVetoed, sizeChanged, windowClosed
 
Methods inherited from class org.apache.pivot.wtk.skin.WindowSkin
activeChanged, contentChanged, getClientArea, iconChanged, maximizedChanged, mouseDown, ownerChanged, previewWindowClose, previewWindowOpen, titleChanged, windowCloseVetoed, windowMoved, windowOpenVetoed
 
Methods inherited from class org.apache.pivot.wtk.skin.ContainerSkin
componentInserted, componentsRemoved, contextKeyChanged, focusTraversalPolicyChanged, getBackgroundColor, getBackgroundPaint, isFocusable, isOpaque, setBackgroundColor, setBackgroundPaint, setBackgroundPaint
 
Methods inherited from class org.apache.pivot.wtk.skin.ComponentSkin
cursorChanged, dragSourceChanged, dropTargetChanged, enabledChanged, focusedChanged, getComponent, getHeight, getWidth, invalidateComponent, keyReleased, keyTyped, locationChanged, menuHandlerChanged, mouseClick, mouseMove, mouseOut, mouseOver, mouseUp, mouseWheel, parentChanged, preferredHeightLimitsChanged, preferredSizeChanged, preferredWidthLimitsChanged, repaintComponent, repaintComponent, repaintComponent, repaintComponent, repaintComponent, setSize, styleUpdated, tooltipTextChanged, visibleChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.pivot.wtk.Skin
getComponent, isFocusable, isOpaque
 
Methods inherited from interface org.apache.pivot.wtk.ConstrainedVisual
setSize
 
Methods inherited from interface org.apache.pivot.wtk.Visual
getHeight, getWidth
 

Constructor Detail

TerraFileBrowserSheetSkin

public TerraFileBrowserSheetSkin()
Method Detail

install

public void install(Component component)
Description copied from interface: Skin
Associates a skin with a component.

Specified by:
install in interface Skin
Overrides:
install in class TerraSheetSkin
Parameters:
component - The component to which the skin is being attached.

uninstall

public void uninstall()
Description copied from interface: Skin
Dissociates a skin from a component.

Specified by:
uninstall in interface Skin
Overrides:
uninstall in class TerraSheetSkin

windowOpened

public void windowOpened(Window window)
Description copied from interface: WindowStateListener
Called when a window has opened.

Specified by:
windowOpened in interface WindowStateListener
Overrides:
windowOpened in class TerraSheetSkin

previewSheetClose

public Vote previewSheetClose(Sheet sheet,
                              boolean result)
Description copied from interface: SheetStateListener
Called to preview a sheet close event.

Specified by:
previewSheetClose in interface SheetStateListener
Overrides:
previewSheetClose in class TerraSheetSkin

rootDirectoryChanged

public void rootDirectoryChanged(FileBrowserSheet fileBrowserSheet,
                                 File previousRootDirectory)
Description copied from interface: FileBrowserSheetListener
Called when a file browser sheet's root directory has changed.

Specified by:
rootDirectoryChanged in interface FileBrowserSheetListener

selectedFilesChanged

public void selectedFilesChanged(FileBrowserSheet fileBrowserSheet,
                                 Sequence<File> previousSelectedFiles)
Description copied from interface: FileBrowserSheetListener
Called when a file browser sheet's selection state has been reset.

Specified by:
selectedFilesChanged in interface FileBrowserSheetListener

disabledFileFilterChanged

public void disabledFileFilterChanged(FileBrowserSheet fileBrowserSheet,
                                      Filter<File> previousDisabledFileFilter)
Description copied from interface: FileBrowserSheetListener
Called when a file browser sheet's disabled file filter has changed.

Specified by:
disabledFileFilterChanged in interface FileBrowserSheetListener