com.jaxfront.core.ui
Interface ListVisualizer

All Superinterfaces:
Visualizer

public interface ListVisualizer
extends Visualizer

Interface for all visualizers which are holding a list type.


Method Summary
 void addTab(Type type)
           
 JAXDataTable getDataTable()
          Returns internal tabel representation.
 javax.swing.JDialog getEditDialog(Type selectedType, Type context)
          Returns the edit dialog for a given type.
 ListType getListModel()
           
 Type getSelectedType()
          Gets the selected type of the underlying list type.
 void refresh()
           
 void removeTab(Type type)
           
 void resetView()
           
 void selectType(Type type)
          Selects the requested type in the list.
 void selectType(Type type, boolean isUserAction)
          Selects the requested type in the list.
 void showModel(Type type)
          Shows the visualizer for the passed type within my list.
 void showUpDownButtons(boolean showUpDownButtons)
          Sets the visibility of the up/down buttons for a list view.
 
Methods inherited from interface com.jaxfront.core.ui.Visualizer
getContext, getImplementation, getLabelText, getModel, getRendererType, isViewReleased, jumpTo, markError, populateModel, populateView, postInitialization, release, removeLabel, resetError, setApplicationRequired, setContext, setEditable, setEnabled, setLabelColor, setLabelText, setModel, setRequired, setVisible, showLabel
 

Method Detail

addTab

void addTab(Type type)

getDataTable

JAXDataTable getDataTable()
Returns internal tabel representation.


getEditDialog

javax.swing.JDialog getEditDialog(Type selectedType,
                                  Type context)
Returns the edit dialog for a given type.

Parameters:
selectedType - a given type
Returns:
JDialog the dialog for a type

getListModel

ListType getListModel()

getSelectedType

Type getSelectedType()
Gets the selected type of the underlying list type.

Returns:
the selected type of the list

refresh

void refresh()

removeTab

void removeTab(Type type)

resetView

void resetView()

selectType

void selectType(Type type)
Selects the requested type in the list.


selectType

void selectType(Type type,
                boolean isUserAction)
Selects the requested type in the list.

Parameters:
type -
isUserAction -

showModel

void showModel(Type type)
Shows the visualizer for the passed type within my list.

Parameters:
type - to visualize

showUpDownButtons

void showUpDownButtons(boolean showUpDownButtons)
Sets the visibility of the up/down buttons for a list view.

Parameters:
showUpDownButtons - true if the buttons should be shown