congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
YoGraphic.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
us.ihmc.graphicsDescription.yoGraphics.YoGraphic

Best Java code snippets using us.ihmc.graphicsDescription.yoGraphics.YoGraphic.getName (Showing top 4 results out of 315)

origin: us.ihmc/ihmc-graphics-description

private void checkForRepeatNames(YoGraphicsList yoGraphicsList)
{
 ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
 for (YoGraphic yoGraphic : yoGraphics)
 {
   if (doesNameExistInYoGraphicsList(yoGraphic.getName()))
   {
    throw new RuntimeException("Repeat Name: " + yoGraphic.getName() + " in YoGraphic!");
   }
 }
}
origin: us.ihmc/IHMCGraphicsDescription

private void checkForRepeatNames(YoGraphicsList yoGraphicsList)
{
 ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
 for (YoGraphic yoGraphic : yoGraphics)
 {
   if (doesNameExistInYoGraphicsList(yoGraphic.getName()))
   {
    throw new RuntimeException("Repeat Name: " + yoGraphic.getName() + " in YoGraphic!");
   }
 }
}
origin: us.ihmc/ihmc-graphics-description

private boolean doesNameExistInYoGraphicsList(String nameToCheck)
{
 for (YoGraphicsList yoGraphicsList : yoGraphicsLists)
 {
   ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
   for (YoGraphic yoGraphic : yoGraphics)
   {
    String name = yoGraphic.getName();
    if (name.equals(nameToCheck))
    {
      return true;
    }
   }
 }
 return false;
}
origin: us.ihmc/IHMCGraphicsDescription

private boolean doesNameExistInYoGraphicsList(String nameToCheck)
{
 for (YoGraphicsList yoGraphicsList : yoGraphicsLists)
 {
   ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
   for (YoGraphic yoGraphic : yoGraphics)
   {
    String name = yoGraphic.getName();
    if (name.equals(nameToCheck))
    {
      return true;
    }
   }
 }
 return false;
}
us.ihmc.graphicsDescription.yoGraphicsYoGraphicgetName

Popular methods of YoGraphic

  • hideGraphicObject
  • update
    Overwrite the update method if an object needs special updating. But it is up to each user to update
  • computeRotationTranslation
  • containsNaN
  • isGraphicObjectShowing
  • setRootTransform
  • setVisible
  • showGraphicObject
  • toString
  • setGlobalScaleProvider

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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