CBoxItem
- The type of objects being put in the host JComboBoxpublic interface IModelAdapter<CBoxItem>
Modifier and Type | Method and Description |
---|---|
CBoxItem[] |
getHosts()
Get an array of CBoxItems to place in the JComboBox
|
void |
paint(java.awt.Graphics g)
Ask the model to paint something on this Graphics object.
|
java.lang.String |
run(CBoxItem host,
java.lang.String visitorClassname)
Ask the model to process the given host object with the given a visitor
|
CBoxItem[] getHosts()
java.lang.String run(CBoxItem host, java.lang.String visitorClassname)
host
- A host itemvisitorClassname
- The name of the visitor to use, though the leading "visitors.impl." part is missing.void paint(java.awt.Graphics g)
g
-