Package jisa.gui
Class SwapGrid
- java.lang.Object
-
- jisa.gui.JFXElement
-
- jisa.gui.Grid
-
- jisa.gui.SwapGrid
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jisa.gui.Element
Element.ElementBorder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Element element, int... configurations)
void
clear()
Removes all elements from this container.int
getConfiguration()
java.util.List<Element>
getElements()
Returns a list of all elements currently inside this container.void
remove(Element element)
Removes the specified elements from this container.void
setConfiguration(int configuration)
-
Methods inherited from class jisa.gui.Grid
add, addPane, autoAdjustSize, getBorderedNode, getNumColumns, scrollTo, scrollToEnd, scrollToTop, setGrowth, setGrowth, setNumColumns, slideInElement, slideOutElement
-
Methods inherited from class jisa.gui.JFXElement
addDialogButton, addDialogMenuButton, addToolbarButton, addToolbarMenuButton, addToolbarSeparator, autoSizeWindow, clearDialogButtons, clearToolbar, close, getIcon, getMaxHeight, getMaxWidth, getMaxWindowHeight, getMaxWindowWidth, getMinHeight, getMinWidth, getNode, getStage, getTitle, getWindowHeight, getWindowWidth, hide, iconProperty, isDecorated, isExitOnClose, isMaximised, isShowing, setCentreNode, setDecorated, setExitOnClose, setIcon, setIcon, setMaxHeight, setMaximised, setMaxWidth, setMaxWindowHeight, setMaxWindowWidth, setMinHeight, setMinWidth, setOnClose, setTitle, setWindowHeight, setWindowSize, setWindowWidth, show, showAsAlert, showAsConfirmation, showAsDialog, titleProperty
-
-
-
-
Method Detail
-
add
public void add(Element element, int... configurations)
-
remove
public void remove(Element element)
Description copied from interface:Container
Removes the specified elements from this container.
-
clear
public void clear()
Description copied from interface:Container
Removes all elements from this container.
-
getElements
public java.util.List<Element> getElements()
Description copied from interface:Container
Returns a list of all elements currently inside this container.- Specified by:
getElements
in interfaceContainer
- Overrides:
getElements
in classGrid
- Returns:
- List of elements.
-
setConfiguration
public void setConfiguration(int configuration)
-
getConfiguration
public int getConfiguration()
-
-