Package jisa.gui
Class CheckGrid
- java.lang.Object
-
- jisa.gui.JFXElement
-
- jisa.gui.CheckGrid
-
- All Implemented Interfaces:
Element
public class CheckGrid extends JFXElement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jisa.gui.Element
Element.ElementBorder
-
-
Constructor Summary
Constructors Constructor Description CheckGrid(java.lang.String title, int columns, int rows)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnCount()intgetRowCount()boolean[][]getValues()booleanisChecked(int column, int row)protected voidlayoutGrid(int columns, int rows)voidsetAll(boolean checked)voidsetChecked(int column, int row, boolean checked)voidsetColumn(int column, boolean checked)voidsetRow(int row, boolean checked)voidsetSize(int columns, int rows)voidsetValues(boolean[][] values)-
Methods inherited from class jisa.gui.JFXElement
addDialogButton, addDialogMenuButton, addToolbarButton, addToolbarMenuButton, addToolbarSeparator, autoAdjustSize, 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
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jisa.gui.Element
getBorderedNode, isVisible, setVisible
-
-
-
-
Method Detail
-
layoutGrid
protected void layoutGrid(int columns, int rows)
-
setSize
public void setSize(int columns, int rows)
-
isChecked
public boolean isChecked(int column, int row)
-
setChecked
public void setChecked(int column, int row, boolean checked)
-
setAll
public void setAll(boolean checked)
-
setColumn
public void setColumn(int column, boolean checked)
-
setRow
public void setRow(int row, boolean checked)
-
getRowCount
public int getRowCount()
-
getColumnCount
public int getColumnCount()
-
getValues
public boolean[][] getValues()
-
setValues
public void setValues(boolean[][] values)
-
-