test_class.declarator: layout
test_class.modifier: private
test_class.original_string: private GridLayout layout;
test_class.type: GridLayout
test_class.var_name: layout
test_class.declarator: grid
test_class.modifier: private
test_class.original_string: private GridPane grid;
test_class.type: GridPane
test_class.var_name: grid
test_class.file: plugins/base/src/test/java/edu/wpi/first/shuffleboard/plugin/base/layout/GridLayoutTest.java
test_class.identifier: GridLayoutTest
test_class.superclass: extends ApplicationTest
test_case.body: @Test
    public void testIncreaseColumnCount() {
      FxUtils.runOnFxThread(() -> layout.setNumColumns(4));
      waitForFxEvents();
      assertEquals(12, getPlaceholderCount(), "Adding a column should increase the number of placeholders from 9 to 12");
    }
test_case.class_method_signature: GridLayoutTest.testIncreaseColumnCount()
test_case.full_signature: @Test public void testIncreaseColumnCount()
test_case.identifier: testIncreaseColumnCount
test_case.invocations: runOnFxThread setNumColumns waitForFxEvents assertEquals getPlaceholderCount
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIncreaseColumnCount()
focal_class.declarator: root
focal_class.modifier: @FXML
    private
focal_class.original_string: @FXML
    private Pane root;
focal_class.type: Pane
focal_class.var_name: root
focal_class.declarator: grid
focal_class.modifier: @FXML
    private
focal_class.original_string: @FXML
    private GridPane grid;
focal_class.type: GridPane
focal_class.var_name: grid
focal_class.declarator: isPlaceholder = n -> n instanceof Placeholder
focal_class.modifier: @SuppressWarnings("PMD.LinguisticNaming") // Predicates prefixed with "is" makes PMD mad
    private static final
focal_class.original_string: @SuppressWarnings("PMD.LinguisticNaming") // Predicates prefixed with "is" makes PMD mad
    private static final Predicate<Node> isPlaceholder = n -> n instanceof Placeholder;
focal_class.type: Predicate<Node>
focal_class.var_name: isPlaceholder
focal_class.declarator: numColumns = new SimpleIntegerProperty(this, "columns", 3)
focal_class.modifier: private final
focal_class.original_string: private final IntegerProperty numColumns = new SimpleIntegerProperty(this, "columns", 3);
focal_class.type: IntegerProperty
focal_class.var_name: numColumns
focal_class.declarator: numRows = new SimpleIntegerProperty(this, "rows", 3)
focal_class.modifier: private final
focal_class.original_string: private final IntegerProperty numRows = new SimpleIntegerProperty(this, "rows", 3);
focal_class.type: IntegerProperty
focal_class.var_name: numRows
focal_class.declarator: panes = new WeakHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<Component, ChildContainer> panes = new WeakHashMap<>();
focal_class.type: Map<Component, ChildContainer>
focal_class.var_name: panes
focal_class.declarator: highlight = new Pane()
focal_class.modifier: private final
focal_class.original_string: private final Pane highlight = new Pane();
focal_class.type: Pane
focal_class.var_name: highlight
focal_class.declarator: placeholderWidth
focal_class.modifier: private
focal_class.original_string: private DoubleBinding placeholderWidth;
focal_class.type: DoubleBinding
focal_class.var_name: placeholderWidth
focal_class.declarator: placeholderHeight
focal_class.modifier: private
focal_class.original_string: private DoubleBinding placeholderHeight;
focal_class.type: DoubleBinding
focal_class.var_name: placeholderHeight
focal_class.file: plugins/base/src/main/java/edu/wpi/first/shuffleboard/plugin/base/layout/GridLayout.java
focal_class.identifier: GridLayout
focal_class.class_method_signature: GridLayout.initialize()
focal_class.full_signature: @FXML private void initialize()
focal_class.identifier: initialize
focal_class.modifiers: @FXML private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initialize()
focal_class.class_method_signature: GridLayout.addPlaceholders(int minCol, int maxCol, int minRow, int maxRow)
focal_class.full_signature: private void addPlaceholders(int minCol, int maxCol, int minRow, int maxRow)
focal_class.identifier: addPlaceholders
focal_class.modifiers: private
focal_class.parameters: (int minCol, int maxCol, int minRow, int maxRow)
focal_class.return: void
focal_class.signature: void addPlaceholders(int minCol, int maxCol, int minRow, int maxRow)
focal_class.class_method_signature: GridLayout.addPlaceholder(int col, int row)
focal_class.full_signature: private void addPlaceholder(int col, int row)
focal_class.identifier: addPlaceholder
focal_class.modifiers: private
focal_class.parameters: (int col, int row)
focal_class.return: void
focal_class.signature: void addPlaceholder(int col, int row)
focal_class.class_method_signature: GridLayout.removePlaceholders(ToDoubleFunction<Node> positionGetter, int max)
focal_class.full_signature: private void removePlaceholders(ToDoubleFunction<Node> positionGetter, int max)
focal_class.identifier: removePlaceholders
focal_class.modifiers: private
focal_class.parameters: (ToDoubleFunction<Node> positionGetter, int max)
focal_class.return: void
focal_class.signature: void removePlaceholders(ToDoubleFunction<Node> positionGetter, int max)
focal_class.class_method_signature: GridLayout.setupDropHighlight()
focal_class.full_signature: private void setupDropHighlight()
focal_class.identifier: setupDropHighlight
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setupDropHighlight()
focal_class.class_method_signature: GridLayout.addChild(Component component, double x, double y)
focal_class.full_signature: @Override public void addChild(Component component, double x, double y)
focal_class.identifier: addChild
focal_class.modifiers: @Override public
focal_class.parameters: (Component component, double x, double y)
focal_class.return: void
focal_class.signature: void addChild(Component component, double x, double y)
focal_class.class_method_signature: GridLayout.addChild(Component component, GridPoint point)
focal_class.full_signature: public void addChild(Component component, GridPoint point)
focal_class.identifier: addChild
focal_class.modifiers: public
focal_class.parameters: (Component component, GridPoint point)
focal_class.return: void
focal_class.signature: void addChild(Component component, GridPoint point)
focal_class.class_method_signature: GridLayout.pointAt(double x, double y)
focal_class.full_signature: private GridPoint pointAt(double x, double y)
focal_class.identifier: pointAt
focal_class.modifiers: private
focal_class.parameters: (double x, double y)
focal_class.return: GridPoint
focal_class.signature: GridPoint pointAt(double x, double y)
focal_class.class_method_signature: GridLayout.isManaged(Node node)
focal_class.full_signature: private boolean isManaged(Node node)
focal_class.identifier: isManaged
focal_class.modifiers: private
focal_class.parameters: (Node node)
focal_class.return: boolean
focal_class.signature: boolean isManaged(Node node)
focal_class.class_method_signature: GridLayout.nodesInCol(int col)
focal_class.full_signature: private Stream<Node> nodesInCol(int col)
focal_class.identifier: nodesInCol
focal_class.modifiers: private
focal_class.parameters: (int col)
focal_class.return: Stream<Node>
focal_class.signature: Stream<Node> nodesInCol(int col)
focal_class.class_method_signature: GridLayout.nodesInRow(int row)
focal_class.full_signature: private Stream<Node> nodesInRow(int row)
focal_class.identifier: nodesInRow
focal_class.modifiers: private
focal_class.parameters: (int row)
focal_class.return: Stream<Node>
focal_class.signature: Stream<Node> nodesInRow(int row)
focal_class.class_method_signature: GridLayout.isOpen(int col, int row)
focal_class.full_signature: private boolean isOpen(int col, int row)
focal_class.identifier: isOpen
focal_class.modifiers: private
focal_class.parameters: (int col, int row)
focal_class.return: boolean
focal_class.signature: boolean isOpen(int col, int row)
focal_class.class_method_signature: GridLayout.paneFor(Component component)
focal_class.full_signature: private ChildContainer paneFor(Component component)
focal_class.identifier: paneFor
focal_class.modifiers: private
focal_class.parameters: (Component component)
focal_class.return: ChildContainer
focal_class.signature: ChildContainer paneFor(Component component)
focal_class.class_method_signature: GridLayout.addComponent(ComponentModel model)
focal_class.full_signature: @Override public Component addComponent(ComponentModel model)
focal_class.identifier: addComponent
focal_class.modifiers: @Override public
focal_class.parameters: (ComponentModel model)
focal_class.return: Component
focal_class.signature: Component addComponent(ComponentModel model)
focal_class.class_method_signature: GridLayout.addComponentToView(Component component)
focal_class.full_signature: @Override protected void addComponentToView(Component component)
focal_class.identifier: addComponentToView
focal_class.modifiers: @Override protected
focal_class.parameters: (Component component)
focal_class.return: void
focal_class.signature: void addComponentToView(Component component)
focal_class.class_method_signature: GridLayout.removeComponentFromView(Component component)
focal_class.full_signature: @Override protected void removeComponentFromView(Component component)
focal_class.identifier: removeComponentFromView
focal_class.modifiers: @Override protected
focal_class.parameters: (Component component)
focal_class.return: void
focal_class.signature: void removeComponentFromView(Component component)
focal_class.class_method_signature: GridLayout.replaceInPlace(Component existing, Component replacement)
focal_class.full_signature: @Override protected void replaceInPlace(Component existing, Component replacement)
focal_class.identifier: replaceInPlace
focal_class.modifiers: @Override protected
focal_class.parameters: (Component existing, Component replacement)
focal_class.return: void
focal_class.signature: void replaceInPlace(Component existing, Component replacement)
focal_class.class_method_signature: GridLayout.getView()
focal_class.full_signature: @Override public Pane getView()
focal_class.identifier: getView
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Pane
focal_class.signature: Pane getView()
focal_class.class_method_signature: GridLayout.getSettings()
focal_class.full_signature: @Override public List<Group> getSettings()
focal_class.identifier: getSettings
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Group>
focal_class.signature: List<Group> getSettings()
focal_class.class_method_signature: GridLayout.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: GridLayout.getContainers()
focal_class.full_signature: public ImmutableList<ChildContainer> getContainers()
focal_class.identifier: getContainers
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ImmutableList<ChildContainer>
focal_class.signature: ImmutableList<ChildContainer> getContainers()
focal_class.class_method_signature: GridLayout.getNumColumns()
focal_class.full_signature: public int getNumColumns()
focal_class.identifier: getNumColumns
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNumColumns()
focal_class.class_method_signature: GridLayout.numColumnsProperty()
focal_class.full_signature: public IntegerProperty numColumnsProperty()
focal_class.identifier: numColumnsProperty
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IntegerProperty
focal_class.signature: IntegerProperty numColumnsProperty()
focal_class.class_method_signature: GridLayout.setNumColumns(int numColumns)
focal_class.full_signature: public void setNumColumns(int numColumns)
focal_class.identifier: setNumColumns
focal_class.modifiers: public
focal_class.parameters: (int numColumns)
focal_class.return: void
focal_class.signature: void setNumColumns(int numColumns)
focal_class.class_method_signature: GridLayout.getNumRows()
focal_class.full_signature: public int getNumRows()
focal_class.identifier: getNumRows
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNumRows()
focal_class.class_method_signature: GridLayout.numRowsProperty()
focal_class.full_signature: public IntegerProperty numRowsProperty()
focal_class.identifier: numRowsProperty
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IntegerProperty
focal_class.signature: IntegerProperty numRowsProperty()
focal_class.class_method_signature: GridLayout.setNumRows(int numRows)
focal_class.full_signature: public void setNumRows(int numRows)
focal_class.identifier: setNumRows
focal_class.modifiers: public
focal_class.parameters: (int numRows)
focal_class.return: void
focal_class.signature: void setNumRows(int numRows)
focal_class.superclass: extends LayoutBase
focal_method.body: public void setNumColumns(int numColumns) {
      this.numColumns.set(numColumns);
    }
focal_method.class_method_signature: GridLayout.setNumColumns(int numColumns)
focal_method.full_signature: public void setNumColumns(int numColumns)
focal_method.identifier: setNumColumns
focal_method.invocations: set
focal_method.modifiers: public
focal_method.parameters: (int numColumns)
focal_method.return: void
focal_method.signature: void setNumColumns(int numColumns)