Package org.jungrapht.samples.util
Class LensControlHelper.Builder
- java.lang.Object
- 
- org.jungrapht.samples.util.LensControlHelper.Builder
 
- 
- Enclosing class:
- LensControlHelper
 
 public static class LensControlHelper.Builder extends Object Builder forLensControlHelper
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LensControlHelperbuild()LensControlHelper.BuilderbuttonSupplier(Supplier<AbstractButton> buttonSupplier)LensControlHelper.BuildercontainerLayoutManager(LayoutManager containerLayoutManager)LensControlHelper.BuildercontainerSupplier(Supplier<JComponent> containerSupplier)LensControlHelper.Buildertitle(String title)
 
- 
- 
- 
Method Detail- 
containerSupplierpublic LensControlHelper.Builder containerSupplier(Supplier<JComponent> containerSupplier) - Parameters:
- containerSupplier- a- Supplierfor the desired container type
- Returns:
- this Builder
 
 - 
containerLayoutManagerpublic LensControlHelper.Builder containerLayoutManager(LayoutManager containerLayoutManager) - Parameters:
- containerLayoutManager- a- LayoutManagerfor the container
- Returns:
- this Builder
 
 - 
buttonSupplierpublic LensControlHelper.Builder buttonSupplier(Supplier<AbstractButton> buttonSupplier) - Parameters:
- buttonSupplier- a- Supplierfor the activation control buttons
- Returns:
 
 - 
titlepublic LensControlHelper.Builder title(String title) - Parameters:
- title- optional title for the Container
- Returns:
- this Builder
 
 - 
buildpublic LensControlHelper build() - Returns:
- a configured instance of the Builder
 
 
- 
 
-