kiwi.ui
Interface UIElementViewer

All Known Implementing Classes:
AudioClipViewer, TextureViewer

public interface UIElementViewer

An interface that describes the behavior of a viewer for UIElements.

Author:
Mark Lindner, PING Software Group
See Also:
UIElementChooser

Method Summary
 javax.swing.JComponent getViewerComponent()
          Get a reference to the viewer component.
 void showElement(UIElement element)
          Display the given element in the viewer.
 

Method Detail

getViewerComponent

public javax.swing.JComponent getViewerComponent()
Get a reference to the viewer component.

Returns:
The viewer component itself.

showElement

public void showElement(UIElement element)
Display the given element in the viewer.

Parameters:
element - The element to display.