- Type Parameters:
CBoxItem- The type of objects being put in the host JComboBox
public interface IModelAdapter<CBoxItem>
The view's adapter to the model
- Author:
- swong
-
Method Details
-
getHosts
CBoxItem[] getHosts()Get an array of CBoxItems to place in the JComboBox- Returns:
- An array of CBoxItems
-
run
Ask the model to process the given host object with the given a visitor- Parameters:
host- A host itemvisitorClassname- The name of the visitor to use, though the leading "visitors.impl." part is missing.- Returns:
- The results of this particular algorithm.
-
paint
Ask the model to paint something on this Graphics object.- Parameters:
g- The Graphics object to paint on.
-