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

How to use
OnChange
in
com.palantir.ptoss.cinch.swing

Best Java code snippets using com.palantir.ptoss.cinch.swing.OnChange (Showing top 3 results out of 315)

origin: palantir/Cinch

  public void stateChanged(ChangeEvent e) {
    try {
      if (adjustMethod != null && !change.onAdjust()) {
        if ((Boolean) adjustMethod.invoke(changeObject)) return;
      }
      ofm.getMethod().invoke(ofm.getObject());
    } catch (InvocationTargetException itex) {
      logger.error("exception during action firing", itex.getCause());
    } catch (Exception ex) {
      logger.error("exception during action firing", ex);
    }
  }
};
origin: palantir/Cinch

private static void wire(final OnChange change, Field field, BindingContext context)
  throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
  String call = change.call();
  if (call == null) {
    throw new BindingException("call on @OnChange on " + field.getName() + " must be specified");
origin: palantir/Cinch

public final JLabel label = new JLabel("Toggle: ");
@Bound(to = "toggle")
@OnChange(call = "incrementStateChangeCount")
public final JToggleButton button = new JToggleButton("Click Me!");
public final JLabel countLabel = new JLabel("Button State Changes: ");
com.palantir.ptoss.cinch.swingOnChange

Most used methods

  • <init>
  • call
  • onAdjust

Popular in Java

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Sublime Text plugins
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