Class ModeControl
- java.lang.Object
-
- org.jungrapht.visualization.control.modal.ModeControl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModeControl.Builder
-
Nested classes/interfaces inherited from interface org.jungrapht.visualization.control.modal.Modal
Modal.Mode
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<Modal>
modals
protected Modal.Mode
mode
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addModal(Modal modal)
static ModeControl.Builder
builder()
Modal.Mode
getMode()
boolean
removeModal(Modal modal)
void
setMode(Modal.Mode mode)
-
-
-
Field Detail
-
mode
protected Modal.Mode mode
-
-
Method Detail
-
builder
public static ModeControl.Builder builder()
-
addModal
public boolean addModal(Modal modal)
-
removeModal
public boolean removeModal(Modal modal)
-
setMode
public void setMode(Modal.Mode mode)
-
getMode
public Modal.Mode getMode()
-
-