Class TablePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TablePanel extends JPanel
The type Table panel.
See Also:
  • Constructor Details

    • TablePanel

      public TablePanel(int rows, int columns)
      Instantiates a new Table panel.
      Parameters:
      rows - the rows
      columns - the columns
  • Method Details

    • getLocationPanel

      public LocationPanel getLocationPanel(Location location)
      Gets location panel.
      Parameters:
      location - the location
      Returns:
      the location panel
    • getLocationPanel

      public LocationPanel getLocationPanel(int i, int j)
      Gets location panel.
      Parameters:
      i - the
      j - the j
      Returns:
      the location panel
    • resetLocationStates

      public void resetLocationStates()
      Reset location states.
    • pointOf

      public Point pointOf(Location location)
      Point of point.
      Parameters:
      location - the location
      Returns:
      the point
    • locationOf

      public Location locationOf(Point point)
      Location of location.
      Parameters:
      point - the point
      Returns:
      the location