Codota Logo
DateChooserPanel.refreshYearSelector
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
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

/**
 * Sets the date chosen in the panel.
 *
 * @param theDate the new date.
 */
public void setDate(final Date theDate) {
  this.chosenDate.setTime(theDate);
  this.monthSelector.setSelectedIndex(this.chosenDate.get(
      Calendar.MONTH));
  refreshYearSelector();
  refreshButtons();
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Sets the date chosen in the panel.
 *
 * @param theDate the new date.
 */
public void setDate(final Date theDate) {
  this.chosenDate.setTime(theDate);
  this.monthSelector.setSelectedIndex(this.chosenDate.get(
      Calendar.MONTH));
  refreshYearSelector();
  refreshButtons();
}
origin: org.jfree/jcommon

/**
 * Sets the date chosen in the panel.
 *
 * @param theDate the new date.
 */
public void setDate(final Date theDate) {
  this.chosenDate.setTime(theDate);
  this.monthSelector.setSelectedIndex(this.chosenDate.get(
      Calendar.MONTH));
  refreshYearSelector();
  refreshButtons();
}
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

  /**
   * 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/com.springsource.org.jfree

this.chosenDate.set(Calendar.DAY_OF_MONTH, Math.min(dayOfMonth, 
  maxDayOfMonth));
refreshYearSelector();
refreshButtons();
origin: jfree/jcommon

this.chosenDate.set(Calendar.DAY_OF_MONTH, Math.min(dayOfMonth, 
  maxDayOfMonth));
refreshYearSelector();
refreshButtons();
origin: org.jfree/jcommon

this.chosenDate.set(Calendar.DAY_OF_MONTH, Math.min(dayOfMonth, 
  maxDayOfMonth));
refreshYearSelector();
refreshButtons();
org.jfree.uiDateChooserPanelrefreshYearSelector

Javadoc

Changes the contents of the year selection JComboBox to reflect the chosen date and the year range.

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).
  • firePropertyChange
  • 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.
  • setDate
    Sets the date chosen in the panel.
  • refreshButtons,
  • setDate,
  • <init>

Popular in Java

  • Start an intent from android
  • startActivity (Activity)
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now