Tabnine Logo
DateChooserPanel.firePropertyChange
Code IndexAdd Tabnine to your IDE (free)

How to use
firePropertyChange
method
in
org.jfree.ui.DateChooserPanel

Best Java code snippets using org.jfree.ui.DateChooserPanel.firePropertyChange (Showing top 12 results out of 315)

origin: org.jfree/jcommon

  /**
   * Sets the range of years available for selection.
   * 
   * @param yearSelectionRange  the range.
   */
  public void setYearSelectionRange(final int yearSelectionRange) {
    final int oldYearSelectionRange = this.yearSelectionRange;
    this.yearSelectionRange = yearSelectionRange;
    refreshYearSelector();
    firePropertyChange("yearSelectionRange", oldYearSelectionRange, 
        yearSelectionRange);
  }
}
origin: jfree/jcommon

/**
 * Defines the color for the buttons representing the current month.
 *
 * @param chosenMonthButtonColor the color for the current month.
 */
public void setChosenMonthButtonColor(final Color chosenMonthButtonColor) {
  if (chosenMonthButtonColor == null) {
    throw new NullPointerException("UIColor must not be null.");
  }
  final Color oldValue = this.chosenMonthButtonColor;
  this.chosenMonthButtonColor = chosenMonthButtonColor;
  refreshButtons();
  firePropertyChange("chosenMonthButtonColor", oldValue, 
      chosenMonthButtonColor);
}
origin: jfree/jcommon

  /**
   * Sets the range of years available for selection.
   * 
   * @param yearSelectionRange  the range.
   */
  public void setYearSelectionRange(final int yearSelectionRange) {
    final int oldYearSelectionRange = this.yearSelectionRange;
    this.yearSelectionRange = yearSelectionRange;
    refreshYearSelector();
    firePropertyChange("yearSelectionRange", oldYearSelectionRange, 
        yearSelectionRange);
  }
}
origin: jfree/jcommon

/**
 * Redefines the color for the buttons representing the other months.
 *
 * @param chosenOtherButtonColor a color.
 */
public void setChosenOtherButtonColor(final Color chosenOtherButtonColor) {
  if (chosenOtherButtonColor == null) {
    throw new NullPointerException("UIColor must not be null.");
  }
  final Color oldValue = this.chosenOtherButtonColor;
  this.chosenOtherButtonColor = chosenOtherButtonColor;
  refreshButtons();
  firePropertyChange("chosenOtherButtonColor", oldValue, 
      chosenOtherButtonColor);
}
origin: org.jfree/jcommon

/**
 * Redefines the color for the currently selected date.
 *
 * @param chosenDateButtonColor the new color
 */
public void setChosenDateButtonColor(final Color chosenDateButtonColor) {
  if (chosenDateButtonColor == null) {
    throw new NullPointerException("UIColor must not be null.");
  }
  final Color oldValue = this.chosenDateButtonColor;
  this.chosenDateButtonColor = chosenDateButtonColor;
  refreshButtons();
  firePropertyChange("chosenDateButtonColor", oldValue, 
      chosenDateButtonColor);
}
origin: org.jfree/com.springsource.org.jfree

  /**
   * Sets the range of years available for selection.
   * 
   * @param yearSelectionRange  the range.
   */
  public void setYearSelectionRange(final int yearSelectionRange) {
    final int oldYearSelectionRange = this.yearSelectionRange;
    this.yearSelectionRange = yearSelectionRange;
    refreshYearSelector();
    firePropertyChange("yearSelectionRange", oldYearSelectionRange, 
        yearSelectionRange);
  }
}
origin: org.jfree/jcommon

/**
 * Redefines the color for the buttons representing the other months.
 *
 * @param chosenOtherButtonColor a color.
 */
public void setChosenOtherButtonColor(final Color chosenOtherButtonColor) {
  if (chosenOtherButtonColor == null) {
    throw new NullPointerException("UIColor must not be null.");
  }
  final Color oldValue = this.chosenOtherButtonColor;
  this.chosenOtherButtonColor = chosenOtherButtonColor;
  refreshButtons();
  firePropertyChange("chosenOtherButtonColor", oldValue, 
      chosenOtherButtonColor);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Defines the color for the buttons representing the current month.
 *
 * @param chosenMonthButtonColor the color for the current month.
 */
public void setChosenMonthButtonColor(final Color chosenMonthButtonColor) {
  if (chosenMonthButtonColor == null) {
    throw new NullPointerException("UIColor must not be null.");
  }
  final Color oldValue = this.chosenMonthButtonColor;
  this.chosenMonthButtonColor = chosenMonthButtonColor;
  refreshButtons();
  firePropertyChange("chosenMonthButtonColor", oldValue, 
      chosenMonthButtonColor);
}
origin: jfree/jcommon

/**
 * Redefines the color for the currently selected date.
 *
 * @param chosenDateButtonColor the new color
 */
public void setChosenDateButtonColor(final Color chosenDateButtonColor) {
  if (chosenDateButtonColor == null) {
    throw new NullPointerException("UIColor must not be null.");
  }
  final Color oldValue = this.chosenDateButtonColor;
  this.chosenDateButtonColor = chosenDateButtonColor;
  refreshButtons();
  firePropertyChange("chosenDateButtonColor", oldValue, 
      chosenDateButtonColor);
}
origin: org.jfree/jcommon

/**
 * Defines the color for the buttons representing the current month.
 *
 * @param chosenMonthButtonColor the color for the current month.
 */
public void setChosenMonthButtonColor(final Color chosenMonthButtonColor) {
  if (chosenMonthButtonColor == null) {
    throw new NullPointerException("UIColor must not be null.");
  }
  final Color oldValue = this.chosenMonthButtonColor;
  this.chosenMonthButtonColor = chosenMonthButtonColor;
  refreshButtons();
  firePropertyChange("chosenMonthButtonColor", oldValue, 
      chosenMonthButtonColor);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Redefines the color for the currently selected date.
 *
 * @param chosenDateButtonColor the new color
 */
public void setChosenDateButtonColor(final Color chosenDateButtonColor) {
  if (chosenDateButtonColor == null) {
    throw new NullPointerException("UIColor must not be null.");
  }
  final Color oldValue = this.chosenDateButtonColor;
  this.chosenDateButtonColor = chosenDateButtonColor;
  refreshButtons();
  firePropertyChange("chosenDateButtonColor", oldValue, 
      chosenDateButtonColor);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Redefines the color for the buttons representing the other months.
 *
 * @param chosenOtherButtonColor a color.
 */
public void setChosenOtherButtonColor(final Color chosenOtherButtonColor) {
  if (chosenOtherButtonColor == null) {
    throw new NullPointerException("UIColor must not be null.");
  }
  final Color oldValue = this.chosenOtherButtonColor;
  this.chosenOtherButtonColor = chosenOtherButtonColor;
  refreshButtons();
  firePropertyChange("chosenOtherButtonColor", oldValue, 
      chosenOtherButtonColor);
}
org.jfree.uiDateChooserPanelfirePropertyChange

Popular methods of DateChooserPanel

  • add
  • constructControlPanel
    Returns a panel that appears at the bottom of the calendar panel - contains a button for selecting t
  • constructSelectionPanel
    Constructs a panel containing two JComboBoxes (for the month and year) and a button (to reset the da
  • equalDates
    Returns true if the two dates are equal (time of day is ignored).
  • getButtonColor
    Returns the button color according to the specified date.
  • getCalendarPanel
    Returns a panel of buttons, each button representing a day in the month. This is a sub-component of
  • getFirstDayOfWeek
    Returns the first day of the week (controls the labels in the date panel).
  • getFirstVisibleDate
    Returns the first date that is visible in the grid. This should always be in the month preceding the
  • getYears
    Returns a vector of years preceding and following the specified year. The number of years preceding
  • refreshButtons
    Update the button labels and colors to reflect date selection.
  • refreshYearSelector
    Changes the contents of the year selection JComboBox to reflect the chosen date and the year range.
  • setDate
    Sets the date chosen in the panel.
  • refreshYearSelector,
  • setDate,
  • <init>

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top plugins for WebStorm
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