Class ModeContainer
- java.lang.Object
-
- org.jungrapht.visualization.control.modal.ModeContainer
-
public class ModeContainer extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModeContainer.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Supplier<JButton>
buttonSupplier
protected JComponent
container
protected Supplier<JComponent>
containerSupplier
protected Set<Modal>
modals
protected Modal.Mode[]
modes
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addModal(Modal modal)
static ModeContainer.Builder
builder()
protected void
buildUI()
JComponent
getContainer()
boolean
removeModal(Modal modal)
-
-
-
Field Detail
-
container
protected JComponent container
-
containerSupplier
protected Supplier<JComponent> containerSupplier
-
modes
protected Modal.Mode[] modes
-
-
Method Detail
-
builder
public static ModeContainer.Builder builder()
-
getContainer
public JComponent getContainer()
-
addModal
public boolean addModal(Modal modal)
-
removeModal
public boolean removeModal(Modal modal)
-
buildUI
protected final void buildUI()
-
-