Class ModePanel.Builder
- java.lang.Object
-
- org.jungrapht.visualization.control.modal.ModePanel.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected Supplier<AbstractButton>
buttonSupplier
protected Set<Modal>
modals
protected Modal.Mode
mode
protected Modal.Mode[]
modes
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModePanel
build()
ModePanel.Builder
buttonSupplier(Supplier<AbstractButton> buttonSupplier)
ModePanel.Builder
modals(Modal... modals)
ModePanel.Builder
mode(Modal.Mode mode)
ModePanel.Builder
modes(Modal.Mode... modes)
-
-
-
Field Detail
-
buttonSupplier
protected Supplier<AbstractButton> buttonSupplier
-
modes
protected Modal.Mode[] modes
-
mode
protected Modal.Mode mode
-
-
Method Detail
-
buttonSupplier
public ModePanel.Builder buttonSupplier(Supplier<AbstractButton> buttonSupplier)
-
modes
public ModePanel.Builder modes(Modal.Mode... modes)
-
modals
public ModePanel.Builder modals(Modal... modals)
-
mode
public ModePanel.Builder mode(Modal.Mode mode)
-
build
public ModePanel build()
-
-