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

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

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

origin: org.opensingular/singular-form-core

private boolean isFlatView(FlatViewContext context, SIComposite instance) {
  return instance.asAtr().getLabel() == null || context.isWithoutTitle();
}
origin: org.opensingular/form-wicket

protected BSCol addLabelIfNeeded(WicketBuildContext ctx, final BSGrid grid) {
  IModel<String> label = $m.ofValue(trimToEmpty(getInstance().asAtr().getLabel()));
  if (isNotBlank(label.getObject())) {
    BSCol column = grid.newColInRow();
    column.appendTag("h5", new Label("_title", label));
    ctx.configureContainer(label);
    column.setVisible(!ctx.getParent().isTitleInBlock());
    return column;
  }
  return null;
}
origin: org.opensingular/singular-form-wicket

final IModel<String> label = $m.ofValue(trimToEmpty(getInstance().asAtr().getLabel()));
origin: org.opensingular/singular-form-wicket

final IModel<String> label = $m.ofValue(trimToEmpty(instance.asAtr().getLabel()));
if (isNotBlank(label.getObject())) {
  ctx.getContainer().newTag("h4", new Label("_title", label));
origin: org.opensingular/form-wicket

final IModel<String> label = $m.ofValue(trimToEmpty(instance.asAtr().getLabel()));
if (isNotBlank(label.getObject())) {
  ctx.getContainer().newTag("h4", new Label("_title", label));
org.opensingular.formSICompositeasAtr

Popular methods of SIComposite

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

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Notification (javax.management)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 17 Free Sublime Text 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