Tabnine Logo
Bindings
Code IndexAdd Tabnine to your IDE (free)

How to use
Bindings
in
com.palantir.ptoss.cinch.core

Best Java code snippets using com.palantir.ptoss.cinch.core.Bindings (Showing top 20 results out of 315)

origin: palantir/Cinch

public static Bindings standard() {
  return new Bindings(STANDARD_BINDINGS);
}
origin: palantir/Cinch

  public BadView() {
    bindings.bind(this);
  }
}
origin: palantir/Cinch

public void bind(Object object) {
  bindWithoutUpdate(object);
  updateAll();
}
origin: palantir/Cinch

  public void dispose() {
    bindings.release(model);
  }
}
origin: palantir/Cinch

public void bindWithoutUpdate(Object object) {
  BindingContext context = new BindingContext(object);
  bindings.addAll(createBindings(context));
}
origin: palantir/Cinch

@Override
protected void setUp() {
  bindings.bind(this);
}
origin: palantir/Cinch

  /**
   * Call this instead of {@link Bindings#standard()} to inject the custom bindings.
   */
  public static Bindings extendedBindings() {
    // start with standard set of bindings
    List<BindingWiring> wirings = Lists.newArrayList(Bindings.STANDARD_BINDINGS);
    // add in all additions
    wirings.add(new LoggedModel.Wiring());
    return new Bindings(wirings);
  }
}
origin: palantir/Cinch

@Override
protected void setUp() {
  bindings.bind(BoundJComboBoxTest.this);
}
origin: palantir/Cinch

public ActionTest() {
  bindings.bind(this);
}
origin: palantir/Cinch

public Impl() {
  bindings.bind(this);
}
origin: palantir/Cinch

  public GoodView() {
    bindings.bind(this);
  }
}
origin: palantir/Cinch

@Override
protected void setUp() {
  bindings.bind(this);
}
origin: palantir/Cinch

@Override
protected void setUp() throws Exception {
  view.bindings.bind(view);
}
origin: palantir/Cinch

  public NonfinalModel() {
    bindings.bind(this);
  }
}
origin: palantir/Cinch

  public NonfinalNotBindableModel() {
    bindings.bind(this);
  }
}
origin: palantir/Cinch

  public NonfinalController() {
    bindings.bind(this);
  }
}
origin: palantir/Cinch

  public void run() {
    bindings.bind(EnabledIfTest.this);
  }
});
origin: palantir/Cinch

public BooleanComponent(BooleanModel model) {
  this.model = model;
  this.bindings.bind(this);
}
origin: palantir/Cinch

@Override
protected void setUp() throws Exception {
  bindings.bind(this);
}
origin: palantir/Cinch

  public FinalModel() {
    bindings.bind(this);
  }
}
com.palantir.ptoss.cinch.coreBindings

Javadoc

All Bindings are called when ModelUpdates#ALL is called.

If a Bound component has an "on" parameter then it will only be triggered if the specific ModelUpdate type is triggered.

If a Bound component has no "on" parameter then it will be triggered by any update type (including none) triggered by its BindableModel.

Most used methods

  • <init>
  • bind
  • bindWithoutUpdate
  • createBindings
  • release
  • updateAll

Popular in Java

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • 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
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Option (scala)
  • Top 12 Jupyter Notebook extensions
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