Every Node has a getComponents() which produces a JComponent of some kind.
These could be extracted to a separate class so that the View of the Node is forced to adhere to the Node's interface (no cheating!)
Further, many classes have settings and no way to control them. If they used the same View system then their control panels would be discoverable via Reflection.
This may be overkill. Since I only need one control panel for each App, I can just collate them in RO3Frame.
View annotation is not being used and yet I'm pretty satisfied with how things are working. Will reopen if there's a brilliant way to make this much better.
Every
Node
has agetComponents()
which produces a JComponent of some kind. These could be extracted to a separate class so that theView
of theNode
is forced to adhere to the Node's interface (no cheating!) Further, many classes have settings and no way to control them. If they used the sameView
system then their control panels would be discoverable via Reflection.This may be overkill. Since I only need one control panel for each
App
, I can just collate them inRO3Frame
.