org.ardulink.gui.connectionpanel
Interface PanelBuilder
-
- All Known Implementing Classes:
- GenericPanelBuilder
public interface PanelBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description boolean
canHandle(java.net.URI uri)
Query if this PanelBuilder can create Panels for the passed URI.javax.swing.JPanel
createPanel(org.ardulink.core.linkmanager.LinkManager.Configurer configurer)
Creates a Panel that should intercate with the passed Configurer.
-
-
-
Method Detail
-
canHandle
boolean canHandle(java.net.URI uri)
Query if this PanelBuilder can create Panels for the passed URI.- Parameters:
-
uri
- the URI to create a Panel for - Returns:
-
true
if this PanelBuilder can create a Panel for the passed URI
-
createPanel
javax.swing.JPanel createPanel(org.ardulink.core.linkmanager.LinkManager.Configurer configurer)
Creates a Panel that should intercate with the passed Configurer.- Parameters:
-
configurer
- Configurer that was created for the supported URI - Returns:
- a newly created Panel with components that can modify the attributes found in the passed Configurer
-
-
Copyright © 2019. All rights reserved.