Tabnine Logo
SType.pad
Code IndexAdd Tabnine to your IDE (free)

How to use
pad
method
in
org.opensingular.form.SType

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

origin: org.opensingular/singular-form-core

private void debugAttributesDefined(Appendable appendable, int level) {
  AttributeDefinitionManager.getStaticAttributes(attributesDefined).stream().filter(att -> !getLocalTypeOptional(
      att.getNameSimple()).isPresent()).forEach(att -> {
    try {
      pad(appendable, level + 1).append("att ").append(suppressPackage(att.getName())).append(':').append(
          suppressPackage(att.getSuperType().getName())).append(att.isSelfReference() ? " SELF" : "")
          .append('\n');
    } catch (IOException ex) {
      LOGGER.log(Level.SEVERE, ex.getMessage(), ex);
    }
  });
}
origin: org.opensingular/form-core

private void debugAttributesDefined(Appendable appendable, int level) {
  attributesDefined.getAttributes().stream().filter(att -> !getLocalTypeOptional(att.getNameSimple())
      .isPresent()).forEach(att -> {
    try {
      pad(appendable, level + 1).append("att ").append(suppressPackage(att.getName()))
          .append(':').append(suppressPackage(att.getSuperType().getName())).append(
          att.isSelfReference() ? " SELF" : "").append('\n');
    } catch (IOException ex) {
      LOGGER.log(Level.SEVERE, ex.getMessage(), ex);
    }
  });
}
origin: org.opensingular/form-core

@Override
void debug(Appendable appendable, int level) {
  try {
    pad(appendable, level);
    debugTypeHeader(appendable);
    debugAttributes(appendable);
    appendable.append("\n");
    if (this instanceof STypeSimple && asAtrProvider().getProvider() != null) {
      pad(appendable, level + 2).append("selection of ").append(asAtrProvider().getProvider().toString())
          .append("\n");
    }
    debugAttributesDefined(appendable, level);
    super.debug(appendable, level + 1);
  } catch (IOException ex) {
    LOGGER.log(Level.SEVERE, ex.getMessage(), ex);
  }
}
origin: org.opensingular/singular-form-core

@Override
void debug(Appendable appendable, int level) {
  try {
    pad(appendable, level);
    debugTypeHeader(appendable);
    debugAttributes(appendable);
    appendable.append('\n');
    if (this instanceof STypeSimple && asAtrProvider().getProvider() != null) {
      pad(appendable, level + 2).append("selection of ").append(asAtrProvider().getProvider().toString())
          .append('\n');
    }
    debugAttributesDefined(appendable, level);
    super.debug(appendable, level + 1);
  } catch (IOException ex) {
    LOGGER.log(Level.SEVERE, ex.getMessage(), ex);
  }
}
org.opensingular.formSTypepad

Popular methods of SType

  • asAtr
  • getNameSimple
  • getName
  • asAtrProvider
  • getAttributeValue
  • isList
    Verificar se o tipo é um tipo lista ( STypeList).
  • getValidators
  • withView
  • asAtrBootstrap
  • getInstanceClass
  • isComposite
    Verificar se o tipo é um tipo composto ( STypeComposite).
  • getDependentTypes
  • isComposite,
  • getDependentTypes,
  • getDictionary,
  • hasAttributeDefinedInHierarchy,
  • isDependentType,
  • isTypeOf,
  • newInstance,
  • addAttribute,
  • addDependentType,
  • addInstanceValidator

Popular in Java

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • startActivity (Activity)
  • requestLocationUpdates (LocationManager)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JComboBox (javax.swing)
  • Top 15 Vim Plugins
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