Tabnine Logo
DateChooserPanel.refreshYearSelector
Code IndexAdd Tabnine 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)

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

  • Creating JSON documents from java classes using gson
  • getSharedPreferences (Context)
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Join (org.hibernate.mapping)
  • 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