Package org.jungrapht.samples.util
Class LensControlHelper
- java.lang.Object
-
- org.jungrapht.samples.util.LensControlHelper
-
public class LensControlHelper extends Object
Helper class to manage buttons to activate Lens controls
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LensControlHelper.Builder
Builder forLensControlHelper
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LensControlHelper.Builder
builder(Map<String,LensSupport> map)
<T extends JComponent>
Tcontainer()
-
-
-
Method Detail
-
builder
public static LensControlHelper.Builder builder(Map<String,LensSupport> map)
- Parameters:
map
- requiredMap
of String button names toLensSupport
instances- Returns:
- a new Builder
-
container
public <T extends JComponent> T container()
- Type Parameters:
T
- the container type- Returns:
- the original container, possible with a title
-
-