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

How to use
SetDirtyOnChangeHandler
in
org.jbundle.base.field.event

Best Java code snippets using org.jbundle.base.field.event.SetDirtyOnChangeHandler (Showing top 7 results out of 315)

origin: org.jbundle.base/org.jbundle.base

/**
 * Constructor.
 * @param fldTarget The field to set to modified if this field changes.
 * @param bIfNewRecord Only set to dirty if the target field's record is new.
 * @param bIfCurrentRecord Only set to dirty if the target field's record is current.
 */
public SetDirtyOnChangeHandler(BaseField fldTarget, boolean bIfNewRecord, boolean bIfCurrentRecord)
{
  this();
  this.init(null, fldTarget, bIfNewRecord, bIfCurrentRecord);
}
/**
origin: com.tourgeek.tour/com.tourgeek.tour.booking.db

/**
 * AddDetailBehaviors Method.
 */
public void addDetailBehaviors(BookingModel recBooking, TourModel recTour)
{
  super.addDetailBehaviors(recBooking, recTour);
  if (recBooking != null)
  {
    this.addListener(new SubCountHandler((BaseField)recBooking.getField(Booking.GROSS), BookingLine.GROSS, true, true));
    this.addListener(new SubCountHandler((BaseField)recBooking.getField(Booking.COMMISSION), BookingLine.COMMISSION, true, true));
    this.addListener(new SubCountHandler((BaseField)recBooking.getField(Booking.NET), BookingLine.NET, true, true));
  
    ((Record)recBooking).getField(Booking.NET).addListener(new SetDirtyOnChangeHandler((BaseField)recBooking.getField(Booking.BOOKING_STATUS_ID), true, true));  // This makes sure the booking will update which will trigger an A/R update
    ((Record)recBooking).addListener(new UpdateOnCloseHandler(null));
  
    this.addSubListeners((Booking)recBooking);
  }
}
/**
origin: com.tourapp.tour/com.tourapp.tour.booking.db

/**
 * AddDetailBehaviors Method.
 */
public void addDetailBehaviors(BookingModel recBooking, TourModel recTour)
{
  super.addDetailBehaviors(recBooking, recTour);
  if (recBooking != null)
  {
    this.addListener(new SubCountHandler((BaseField)recBooking.getField(Booking.GROSS), BookingLine.GROSS, true, true));
    this.addListener(new SubCountHandler((BaseField)recBooking.getField(Booking.COMMISSION), BookingLine.COMMISSION, true, true));
    this.addListener(new SubCountHandler((BaseField)recBooking.getField(Booking.NET), BookingLine.NET, true, true));
  
    ((Record)recBooking).getField(Booking.NET).addListener(new SetDirtyOnChangeHandler((BaseField)recBooking.getField(Booking.BOOKING_STATUS_ID), true, true));  // This makes sure the booking will update which will trigger an A/R update
    ((Record)recBooking).addListener(new UpdateOnCloseHandler(null));
  
    this.addSubListeners((Booking)recBooking);
  }
}
/**
origin: com.tourgeek.tour/com.tourgeek.tour.request.screen

recItemReqInput.getField(RequestInput.BROCHURE_QTY).addListener(new SetDirtyOnChangeHandler(recRequest.getField(Request.BUNDLE_ID), false, true));
recItemReqInput.getField(RequestInput.BROCHURE_ID).addListener(new SetDirtyOnChangeHandler(recRequest.getField(Request.BUNDLE_ID), false, true));
origin: org.jbundle.base/org.jbundle.base.mixed

/**
 * Constructor.
 * @param fldTarget The field to set to modified if this field changes.
 * @param bIfNewRecord Only set to dirty if the target field's record is new.
 * @param bIfCurrentRecord Only set to dirty if the target field's record is current.
 */
public SetDirtyOnChangeHandler(BaseField fldTarget, boolean bIfNewRecord, boolean bIfCurrentRecord)
{
  this();
  this.init(null, fldTarget, bIfNewRecord, bIfCurrentRecord);
}
/**
origin: com.tourapp.tour/com.tourapp.tour.request.screen

recItemReqInput.getField(RequestInput.BROCHURE_QTY).addListener(new SetDirtyOnChangeHandler(recRequest.getField(Request.BUNDLE_ID), false, true));
recItemReqInput.getField(RequestInput.BROCHURE_ID).addListener(new SetDirtyOnChangeHandler(recRequest.getField(Request.BUNDLE_ID), false, true));
origin: org.jbundle.base.db/org.jbundle.base.db

/**
 * Constructor.
 * @param fldTarget The field to set to modified if this field changes.
 * @param bIfNewRecord Only set to dirty if the target field's record is new.
 * @param bIfCurrentRecord Only set to dirty if the target field's record is current.
 */
public SetDirtyOnChangeHandler(BaseField fldTarget, boolean bIfNewRecord, boolean bIfCurrentRecord)
{
  this();
  this.init(null, fldTarget, bIfNewRecord, bIfCurrentRecord);
}
/**
org.jbundle.base.field.eventSetDirtyOnChangeHandler

Javadoc

SetDirtyOnChangeHandler - Change the screen focus.

Most used methods

  • <init>
    Constructor.
  • init
    Constructor.

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Github Copilot alternatives
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