Class DatasetsWidget

java.lang.Object
gaiasky.interafce.DatasetsWidget

public class DatasetsWidget extends Object
Widget which lists all detected catalogs and offers a way to select them.
  • Field Details

    • cbs

      public OwnCheckBox[] cbs
    • candidates

      public Map<com.badlogic.gdx.scenes.scene2d.ui.Button,​String> candidates
    • types

      public com.badlogic.gdx.utils.Array<DatasetType> types
    • datasets

      public com.badlogic.gdx.utils.Array<DatasetDesc> datasets
  • Constructor Details

    • DatasetsWidget

      public DatasetsWidget(com.badlogic.gdx.scenes.scene2d.Stage ui, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
  • Method Details

    • reloadLocalCatalogs

      public void reloadLocalCatalogs()
    • buildDatasetsWidget

      public com.badlogic.gdx.scenes.scene2d.Actor buildDatasetsWidget()
    • buildDatasetsWidget

      public com.badlogic.gdx.scenes.scene2d.Actor buildDatasetsWidget(boolean scrollOn)
    • buildDatasetsWidget

      public com.badlogic.gdx.scenes.scene2d.Actor buildDatasetsWidget(boolean scrollOn, int maxCharsDescription)
    • findDatasetByDescriptor

      public DatasetDesc findDatasetByDescriptor(Path descriptorFile) throws IOException
      Finds the dataset with the given descriptor file in the dataset descriptor list.
      Parameters:
      descriptorFile - The filename of the descriptor file.
      Returns:
      The dataset descriptor or null if it was not found.
      Throws:
      IOException