Package com.marginallyclever.ro3.view
Interface ViewProvider<T>
- Type Parameters:
T
- The type of object to be viewed or manipulated.
- All Known Implementing Classes:
ViewportSettingsPanel
public interface ViewProvider<T>
Classes implementing ViewProvider
are saying that they can provide Swing components that can be used
to view or manipulate a subject instance. Each ViewProvider
class should provide a default constructor so
that the components can be inspected without providing an instance of the subject.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setViewSubject
(T subject) Set the subject of this ViewProvider.
-
Method Details
-
setViewSubject
Set the subject of this ViewProvider.- Parameters:
subject
- The subject to be viewed or manipulated.
-