com.jaxfront.core.ui
Interface Visualizer

All Known Subinterfaces:
ListVisualizer, RecursionVisualizer
All Known Implementing Classes:
AbstractBean, AbstractComplexVisualizer, AbstractCompositeTabView, AbstractCompositeView, AbstractListTypeView, AbstractListVisualizer, AbstractPagingView, AbstractSimpleListView, AbstractSimpleTypeView, AbstractSimpleVisualizer, AbstractView, CodeSetMultiColumComboBox, ComplexGroupListView, ComplexGroupView, ContextView, DateBean, EditorPanelBean, EmbeddedJAXFrontPlugin, FileDialog, FormLayoutBuilder, FormulaVisualizerView, ImageVisualizer, KeyRefRelationView, KeyRefView, KeyView, PagingView, PassWordPlugin, RecursionWrapper, RTFEditor, SimpleBrowserBean, SimpleChooserBean, SimpleGroupListView, SimpleGroupView, SimpleTypeBooleanView, SimpleTypeColorView, SimpleTypeComboView, SimpleTypeDateTimeView, SimpleTypeDateView, SimpleTypeDurationView, SimpleTypeListSelectionView, SimpleTypeListView, SimpleTypeNumericSpinnerView, SimpleTypeNumericView, SimpleTypeRadioView, SimpleTypeStringView, SimpleTypeTableListView, SimpleTypeTimeView, SplitPaneLayoutPluginOneTwo, TransparentVisualizer

public interface Visualizer

Represents a graphical UI widget for a JAXFront type.

Version:
1.60

Method Summary
 Type getContext()
           
 Visualizer getImplementation()
           
 java.lang.String getLabelText()
          Returns the label of this visualizer.
 Type getModel()
          Returns the model (type) of this visualizer.
 boolean isViewReleased()
           
 void jumpTo()
          Bring this visualizer to front and set the focus.
 void markError()
          Displays the error in a special way.
 void populateModel()
          Updates the model (type) that belongs to this visualizer.
 void populateView()
          Updates the view of this visualizer.
 void postInitialization()
          Gets called after the UI factory has created this visualizer.
 void release()
          Releases allocated resources for this visualizer.
 void removeLabel()
          Removes the label from the view.
 void resetError()
          Removes the error from this visualizer.
 void setApplicationRequired(boolean required)
          Sets the view component to be required or not defined by the application not by xml schema.
 void setEditable(boolean enabled)
          Sets the view component editable .
 void setEnabled(boolean enabled)
          Sets the view component enabled or disabled.
 void setLabelColor(java.awt.Color color)
          Sets the foreground color for the label.
 void setLabelText(java.lang.String text)
          Sets the label for this view
 void setModel(Type type)
          Sets the model (type) for this visualizer.
 void setRequired(boolean required)
          Sets the view component to be required or not.
 void setVisible(boolean visible)
          Sets the view component visible or not visible.
 void showLabel(boolean show)
          Sets the label of this visualizer visible or not visible.
 

Method Detail

getLabelText

java.lang.String getLabelText()
Returns the label of this visualizer.


getModel

Type getModel()
Returns the model (type) of this visualizer.


markError

void markError()
Displays the error in a special way. For example: a red border around the visualized component.


populateModel

void populateModel()
Updates the model (type) that belongs to this visualizer.


populateView

void populateView()
Updates the view of this visualizer.


release

void release()
Releases allocated resources for this visualizer.


getContext

Type getContext()

removeLabel

void removeLabel()
Removes the label from the view.


jumpTo

void jumpTo()
Bring this visualizer to front and set the focus.


resetError

void resetError()
Removes the error from this visualizer.


setEnabled

void setEnabled(boolean enabled)
Sets the view component enabled or disabled.

Parameters:
enabled - enable/disable this visualizer

setEditable

void setEditable(boolean enabled)
Sets the view component editable .

Parameters:
enabled - enable/disable this visualizer

setLabelColor

void setLabelColor(java.awt.Color color)
Sets the foreground color for the label.

Parameters:
color - label foreground color

setLabelText

void setLabelText(java.lang.String text)
Sets the label for this view

Parameters:
text -

setModel

void setModel(Type type)
Sets the model (type) for this visualizer.

Parameters:
type - model for the visualizer

postInitialization

void postInitialization()
Gets called after the UI factory has created this visualizer. Do whatever you want here.


getImplementation

Visualizer getImplementation()

setRequired

void setRequired(boolean required)
Sets the view component to be required or not. For example: the background of the view component may change its color.

Parameters:
required - indicates if a visualizer requires user input

setApplicationRequired

void setApplicationRequired(boolean required)
Sets the view component to be required or not defined by the application not by xml schema.

Parameters:
required - indicates if a visualizer required user input

setVisible

void setVisible(boolean visible)
Sets the view component visible or not visible.

Parameters:
visible - visibility of the visualizer

showLabel

void showLabel(boolean show)
Sets the label of this visualizer visible or not visible.

Parameters:
show - visibility of the label

isViewReleased

boolean isViewReleased()