com.jaxfront.core.ui
Interface ListVisualizer

All Superinterfaces:
Visualizer
All Known Implementing Classes:
AbstractListTypeView, AbstractListVisualizer, AbstractSimpleListView, ComplexGroupListView, FormLayoutBuilder, RecursionWrapper, SimpleGroupListView, SimpleTypeListView, SimpleTypeTableListView

public interface ListVisualizer
extends Visualizer

Interface for all visualizers which are holding a list type.

Version:
1.60

Method Summary
 void addTab(Type type)
           
 JAXDataTable getDataTable()
          Returns internal tabel representation.
 javax.swing.JDialog getEditDialog(Type selectedType)
          Returns the edit dialog for a given type.
 ListType getListModel()
           
 Type getSelectedType()
          Gets the selected type of the underlying list type.
 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, isViewReleased, jumpTo, markError, populateModel, populateView, postInitialization, release, removeLabel, resetError, setApplicationRequired, setEditable, setEnabled, setLabelColor, setLabelText, setModel, setRequired, setVisible, showLabel
 

Method Detail

getSelectedType

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

Returns:
the selected type of the list

showModel

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

Parameters:
type - to visualize

selectType

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


getEditDialog

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

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

getDataTable

JAXDataTable getDataTable()
Returns internal tabel representation.


addTab

void addTab(Type type)

removeTab

void removeTab(Type type)

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

resetView

void resetView()

getListModel

ListType getListModel()

selectType

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

Parameters:
type -
isUserAction -