congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MapLoader.getDescription
Code IndexAdd Tabnine to your IDE (free)

How to use
getDescription
method
in
jsettlers.logic.map.loading.MapLoader

Best Java code snippets using jsettlers.logic.map.loading.MapLoader.getDescription (Showing top 5 results out of 315)

origin: jsettlers/settlers-remake

@Override
public String getDescription() {
  return mapLoader.getDescription();
}
origin: jsettlers/settlers-remake

/**
 * Checks if a map matches the search criteria
 * 
 * @param m
 *            Map
 * @param search
 *            Criteria
 * @return true if yes, false if no
 */
private boolean matchesSearch(MapLoader m, String search) {
  if (m.getMapName().toLowerCase(Locale.ENGLISH).contains(search)) {
    return true;
  }
  if (m.getDescription().toLowerCase(Locale.ENGLISH).contains(search)) {
    return true;
  }
  return m.getMapId().toLowerCase(Locale.ENGLISH).contains(search);
}
origin: jsettlers/settlers-remake

/**
 * Checks if a map matches the search criteria
 *
 * @param m
 *            Map
 * @param search
 *            Criteria
 * @return true if yes, false if no
 */
private boolean matchesSearch(MapLoader m, String search) {
  if (search.isEmpty()) {
    return true;
  }
  if (m.getMapName().toLowerCase(Locale.ENGLISH).contains(search)) {
    return true;
  }
  if (m.getDescription().toLowerCase(Locale.ENGLISH).contains(search)) {
    return true;
  }
  return m.getMapId().toLowerCase(Locale.ENGLISH).contains(search);
}
origin: jsettlers/settlers-remake

lbPlayerCount.setText("Player: " + value.getMinPlayers() + " - " + value.getMaxPlayers());
if (value.getDescription() != null && !value.getDescription().isEmpty()) {
  lbDescription.setText(value.getDescription());
} else {
  lbDescription.setText("<no description>");
origin: jsettlers/settlers-remake

playerCountLabel.setText("Player: " + value.getMinPlayers() + " - " + value.getMaxPlayers());
if (value.getDescription() != null && !value.getDescription().isEmpty()) {
  descriptionLabel.setText(value.getDescription());
} else {
  descriptionLabel.setText("<no description>");
jsettlers.logic.map.loadingMapLoadergetDescription

Popular methods of MapLoader

  • getMaxPlayers
  • getCreationDate
  • getFileHeader
  • getLoaderForListedMap
  • getMapData
    Gets the map data for this loader, if the data is available.
  • getMapId
  • getMapName
  • getImage
  • getListedMap
  • getMinPlayers
  • loadMainGrid
  • checkExtention
  • loadMainGrid,
  • checkExtention,
  • getPlayers,
  • isExtensionKnown

Popular in Java

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • Path (java.nio.file)
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now