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

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

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

origin: org.opensingular/form-core

/**
 * Configura o tipo para utilizar a view {@link SViewSelectionByRadio}
 */
@SuppressWarnings("unchecked")
public STypeSimple<I, VALUE> withRadioView() {
  return (STypeSimple<I, VALUE>) super.withView(SViewSelectionByRadio::new);
}
origin: org.opensingular/singular-form-core

/**
 * Configura o tipo para utilizar a view {@link SViewSelectionBySelect}
 */
@SuppressWarnings("unchecked")
public STypeSimple<I, VALUE> withSelectView() {
  return (STypeSimple<I, VALUE>) super.withView(SViewSelectionBySelect::new);
}
origin: org.opensingular/singular-form-core

/**
 * Configura o tipo para utilizar a view {@link SViewSelectionByRadio}
 */
@SuppressWarnings("unchecked")
public STypeSimple<I, VALUE> withRadioView() {
  return (STypeSimple<I, VALUE>) super.withView(SViewSelectionByRadio::new);
}
origin: org.opensingular/form-core

/**
 * Configura o tipo para utilizar a view {@link SViewSelectionBySelect}
 */
@SuppressWarnings("unchecked")
public STypeSimple<I, VALUE> withSelectView() {
  return (STypeSimple<I, VALUE>) super.withView(SViewSelectionBySelect::new);
}
origin: org.opensingular/singular-form-core

public final <T extends SView> SType<I> withView(Supplier<T> factory) {
  withView(factory.get());
  return this;
}
origin: org.opensingular/form-core

public final <T extends SView> SType<I> withView(Supplier<T> factory) {
  withView(factory.get());
  return this;
}
origin: org.opensingular/singular-requirement-module

  @Override
  protected void onLoadType(@Nonnull TypeBuilder tb) {
    endpoint = this.addFieldString("endpoint");
    htmlToExport = this.addField("htmlToExport", STypeHTML.class);

    endpoint.setInitialValue(RestfulHtmlToPdfConverter.getEndpointDefault());
    endpoint.asAtr()
        .label("Endpoint:")
        .maxLength(155)
        .enabled(true);

    htmlToExport
        .withInitListener(s -> s.setValue(" teste "))
        .withView(SViewByRichText::new)
        .asAtr()
        .label("HTML Exportação");

  }
}
origin: org.opensingular/singular-requirement-commons

  @Override
  protected void onLoadType(@Nonnull TypeBuilder tb) {
    endpoint = this.addFieldString("endpoint");
    htmlToExport = this.addField("htmlToExport", STypeHTML.class);

    endpoint.setInitialValue(RestfulHtmlToPdfConverter.getEndpointDefault());
    endpoint.asAtr()
        .label("Endpoint:")
        .maxLength(155)
        .enabled(true);

    htmlToExport
        .withInitListener(s -> s.setValue(" teste "))
        .withView(SViewByRichText::new)
        .asAtr()
        .label("HTML Exportação");

  }
}
origin: org.opensingular/exemplos-form

.label("Justificativa").visible(i -> TipoReferencia.NAO_SE_APLICA.getId().equals(Value.of(i, idTipoReferencia)))
.maxLength(600)
.getTipo().withView(SViewTextArea::new);
origin: org.opensingular/exemplos-form

.displayString("${razaoSocial} - ${endereco}")
.getTipo().withView(SViewAutoComplete::new);
org.opensingular.formSTypewithView

Popular methods of SType

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

Popular in Java

  • Making http post requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • getResourceAsStream (ClassLoader)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Reference (javax.naming)
  • JOptionPane (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • From CI to AI: The AI layer in your organization
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