Tabnine Logo
SIComposite.findFieldIndexOpt
Code IndexAdd Tabnine to your IDE (free)

How to use
findFieldIndexOpt
method
in
org.opensingular.form.SIComposite

Best Java code snippets using org.opensingular.form.SIComposite.findFieldIndexOpt (Showing top 4 results out of 315)

origin: org.opensingular/form-core

@Override
Optional<SInstance> getFieldLocalOpt(PathReader pathReader) {
  int fieldIndex = findFieldIndexOpt(pathReader);
  if (fieldIndex != -1) {
    return Optional.of(getField(fieldIndex));
  }
  return Optional.empty();
}
origin: org.opensingular/singular-form-core

@Override
Optional<SInstance> getFieldLocalOpt(PathReader pathReader) {
  int fieldIndex = findFieldIndexOpt(pathReader);
  if (fieldIndex != -1) {
    return Optional.of(getField(fieldIndex));
  }
  return Optional.empty();
}
origin: org.opensingular/singular-form-core

/**
 * Procura o índice do elemento solicitado dentro da lista de campo ou
 * dispara exception se o campo não existir no tipo composto.
 */
private int findFieldIndex(PathReader pathReader) {
  int fieldIndex = findFieldIndexOpt(pathReader);
  if (fieldIndex == -1) {
    throw new SingularFormException(pathReader.getErrorMsg(this, "Não é um campo definido"), this);
  }
  return fieldIndex;
}
origin: org.opensingular/form-core

/**
 * Procura o índice do elemento solicitado dentro da lista de campo ou
 * dispara exception se o campo não existir no tipo composto.
 */
private int findFieldIndex(PathReader pathReader) {
  int fieldIndex = findFieldIndexOpt(pathReader);
  if (fieldIndex == -1) {
    throw new SingularFormException(pathReader.getErrorMsg(this, "Não é um campo definido"));
  }
  return fieldIndex;
}
org.opensingular.formSICompositefindFieldIndexOpt

Javadoc

Procura o índice do elemento solicitado dentro da lista de campo ou retorna -1 se o campo não existir no tipo composto.

Popular methods of SIComposite

  • getField
  • getFields
    List only those fields already instantiated. OBS: field instantiation occurs automatically when its
  • getType
  • findNearest
  • getDocument
  • setValue
  • asAtr
  • findDescendant
  • getFieldList
  • asAtrAnnotation
  • asAtrBootstrap
  • clearInstance
  • asAtrBootstrap,
  • clearInstance,
  • createField,
  • findFieldIndex,
  • getAllChildren,
  • getAllFields,
  • getDictionary,
  • getFieldLocalWithoutCreating,
  • getFieldOpt

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • getApplicationContext (Context)
  • setScale (BigDecimal)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Path (java.nio.file)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • JComboBox (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for WebStorm
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