org.ardulink.gui.connectionpanel
Class GenericPanelBuilder
- java.lang.Object
-
- org.ardulink.gui.connectionpanel.GenericPanelBuilder
-
- All Implemented Interfaces:
- PanelBuilder
public class GenericPanelBuilder extends java.lang.Object implements PanelBuilder
-
-
Constructor Summary
Constructors Constructor and Description GenericPanelBuilder()
-
Method Summary
All Methods Instance Methods Concrete 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
public boolean canHandle(java.net.URI uri)
Description copied from interface:PanelBuilder
Query if this PanelBuilder can create Panels for the passed URI.- Specified by:
-
canHandle
in interfacePanelBuilder
- Parameters:
-
uri
- the URI to create a Panel for - Returns:
-
true
if this PanelBuilder can create a Panel for the passed URI
-
createPanel
public javax.swing.JPanel createPanel(org.ardulink.core.linkmanager.LinkManager.Configurer configurer)
Description copied from interface:PanelBuilder
Creates a Panel that should intercate with the passed Configurer.- Specified by:
-
createPanel
in interfacePanelBuilder
- 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.