Java Doc for JXMonthView.java in  » Project-Management » OpenProj » org » jdesktop » swing » calendar » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Project Management » OpenProj » org.jdesktop.swing.calendar 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JComponent
   org.jdesktop.swing.calendar.JXMonthView

JXMonthView
public class JXMonthView extends JComponent (Code)
Component that displays a month calendar which can be used to select a day or range of days. By default the JXMonthView will display a single calendar using the current month and year, using Calendar.SUNDAY as the first day of the week.

The JXMonthView can be configured to display more than one calendar at a time by calling setPreferredCalCols/setPreferredCalRows. These methods will set the preferred number of calendars to use in each column/row. As these values change, the Dimension returned from getMinimumSize and getPreferredSize will be updated. The following example shows how to create a 2x2 view which is contained within a JFrame:

 JXMonthView monthView = new JXMonthView();
 monthView.setPreferredCols(2);
 monthView.setPreferredRows(2);
 JFrame frame = new JFrame();
 frame.getContentPane().add(monthView);
 frame.pack();
 frame.setVisible(true);
 

JXMonthView can be further configured to allow any day of the week to be considered the first day of the week. Character representation of those days may also be set by providing an array of strings.

 monthView.setFirstDayOfWeek(Calendar.MONDAY);
 monthView.setDaysOfTheWeek(
 new String[]{"S", "M", "T", "W", "R", "F", "S"});
 

This component supports flagging days. These flagged days, which must be provided in sorted order, are displayed in a bold font. This can be used to inform the user of such things as scheduled appointment.

 // Create some dates that we want to flag as being important.
 Calendar cal1 = Calendar.getInstance();
 cal1.set(2004, 1, 1);
 Calendar cal2 = Calendar.getInstance();
 cal2.set(2004, 1, 5);
 long[] flaggedDates = new long[] {
 cal1.getTimeInMillis(),
 cal2.getTimeInMillis(),
 System.currentTimeMillis()
 };
 // Sort them in ascending order.
 java.util.Arrays.sort(flaggedDates);
 monthView.setFlaggedDates(flaggedDates);
 
Applications may have the need to allow users to select different ranges of dates. There are four modes of selection that are supported, single, multiple, week and no selection. Once a selection is made an action is fired, with exception of the no selection mode, to inform listeners that selection has changed.
 // Change the selection mode to select full weeks.
 monthView.setSelectionMode(JXMonthView.WEEK_SELECTION);
 // Add an action listener that will be notified when the user
 // changes selection via the mouse.
 monthView.addActionListener(new ActionListener() {
 public void actionPerformed(ActionEvent e) {
 System.out.println(
 ((JXMonthView)e.getSource()).getSelectedDateSpan());
 }
 });
 

author:
   Joshua Outwater
version:
   $Revision: 1.1 $


Field Summary
final public static  intMULTIPLE_SELECTION
     Mode that allows for selecting of multiple consecutive days.
final public static  intNO_SELECTION
     Mode that disallows selection of days from the calendar.
final public static  intSINGLE_SELECTION
     Mode that allows for selection of a single day.
final public static  intWEEK_SELECTION
     Mode where selections consisting of more than 7 days will snap to a full week.
protected  Insets_monthStringInsets
     Insets used in determining the rectangle for the month string background.

Constructor Summary
public  JXMonthView()
     Create a new instance of the JXMonthView class using the month and year of the current day as the first date to display.
public  JXMonthView(long initialTime)
     Create a new instance of the JXMonthView class using the month and year from initialTime as the first date to display.

Method Summary
public  voidaddActionListener(ActionListener l)
     Adds an ActionListener.

The ActionListener will receive an ActionEvent when a selection has been made.

public  voidaddNotify()
    
public  voidensureDateVisible(long date)
     Moves the date into the visible region of the calendar. If the date is greater than the last visible date it will become the last visible date.
protected  voidfireActionPerformed()
     Fires an ActionEvent to all listeners.
public  StringgetActionCommand()
     Returns the string currently used to identiy fired ActionEvents.
public  booleangetAntialiased()
     Returns true if anti-aliased text is enabled for this component, false otherwise.
public  intgetBoxPaddingX()
     Returns the padding used between days in the calendar.
public  intgetBoxPaddingY()
     Returns the padding used above and below days in the calendar.
public  longgetDayAt(int x, int y)
     Return a long representing the date at the specified x/y position. The date returned will have a valid day, month and year.
public  String[]getDaysOfTheWeek()
     Returns the single character representation for each day of the week.
public  intgetFirstDayOfWeek()
     Gets what the first day of the week is; e.g., Calendar.SUNDAY in the U.S., Calendar.MONDAY in France.
public  longgetFirstDisplayedDate()
     Returns the first displayed date.
public  longgetLastDisplayedDate()
     Returns the last date able to be displayed.
public  DimensiongetMaximumSize()
     Returns the maximum size of this component.
public  DimensiongetMinimumSize()
     Returns the minimum size needed to display this component.
public  ColorgetMonthStringBackground()
     Returns the color used to paint the month string background.
public  InsetsgetMonthStringInsets()
     Returns a copy of the insets used to paint the month string background.
public  intgetPreferredCols()
     Returns the preferred number of columns to paint calendars in.
public  intgetPreferredRows()
     Returns the preferred number of rows to paint calendars in.
public  DimensiongetPreferredSize()
     Returns the preferred size of this component.
public  ColorgetSelectedBackground()
     Returns the selected background color.
public  DateSpangetSelectedDateSpan()
     Returns a date span of the selected dates.
public  intgetSelectionMode()
     Returns the current selection mode for this JXMonthView.
public  TimeZonegetTimeZone()
     Gets the time zone.
public  ColorgetTodayBackground()
     Returns the color used when painting the today background.
protected  voidpaintComponent(Graphics g)
    
protected  voidpaintMonthStringBackground(Graphics g, int x, int y, int width, int height)
     Paints the background of the month string.
protected  voidpaintSelectedDayBackground(Graphics g, int x, int y, int width, int height)
     Paint the background for a selected day.
protected  voidpaintTodayBackground(Graphics g, int x, int y, int width, int height)
     Paints the background for today.
protected  voidprocessMouseEvent(MouseEvent e)
    
protected  voidprocessMouseMotionEvent(MouseEvent e)
    
public  voidremoveActionListener(ActionListener l)
     Removes an ActionListener.
public  voidremoveNotify()
    
public  voidsetActionCommand(String actionCommand)
     Sets the string used to identify fired ActionEvents.
public  voidsetAntialiased(boolean antiAlias)
     Turns on/off anti-aliased text for this component.
public  voidsetBorder(Border border)
     Sets the border of this component.
public  voidsetBounds(int x, int y, int width, int height)
     Moves and resizes this component.
public  voidsetBounds(Rectangle r)
     Moves and resizes this component to conform to the new bounding rectangle r.
public  voidsetBoxPaddingX(int _boxPaddingX)
     Sets the number of pixels used to pad the left and right side of a day. The padding is applied to both sides of the days.
public  voidsetBoxPaddingY(int _boxPaddingY)
     Sets the number of pixels used to pad the top and bottom of a day. The padding is applied to both the top and bottom of a day.
public  voidsetComponentOrientation(ComponentOrientation o)
     Sets the language-sensitive orientation that is to be used to order the elements or text within this component.
public  voidsetDaysOfTheWeek(String[] days)
     Sets the single character representation for each day of the week.
public  voidsetFirstDayOfWeek(int firstDayOfWeek)
     Sets what the first day of the week is; e.g., Calendar.SUNDAY in US, Calendar.MONDAY in France.
public  voidsetFirstDisplayedDate(long date)
     Set the first displayed date.
public  voidsetFlaggedDates(long[] flaggedDates)
     An array of longs defining days that should be flagged.
public  voidsetFont(Font font)
     Sets the font of this component.
public  voidsetMonthStringBackground(Color c)
     Sets the color used to draw the background of the month string.
public  voidsetMonthStringInsets(Insets insets)
     Insets used to modify the width/height when painting the background of the month string area.
public  voidsetPreferredCols(int cols)
     The preferred number of columns to paint calendars.
public  voidsetPreferredRows(int rows)
     Sets the preferred number of rows to paint calendars.
public  voidsetSelectedBackground(Color c)
     Sets the selected background color to c.
public  voidsetSelectedDateSpan(DateSpan dateSpan)
     Selects the dates in the DateSpan.
public  voidsetSelectionMode(int mode)
     Set the selection mode for this JXMonthView.
public  voidsetTimeZone(TimeZone tz)
     Sets the time zone with the given time zone value.
public  voidsetTodayBackground(Color c)
     Sets the color used to draw the bounding box around today.
public  voidupdateUI()
     Resets the UI property to a value from the current look and feel.

Field Detail
MULTIPLE_SELECTION
final public static int MULTIPLE_SELECTION(Code)
Mode that allows for selecting of multiple consecutive days.



NO_SELECTION
final public static int NO_SELECTION(Code)
Mode that disallows selection of days from the calendar.



SINGLE_SELECTION
final public static int SINGLE_SELECTION(Code)
Mode that allows for selection of a single day.



WEEK_SELECTION
final public static int WEEK_SELECTION(Code)
Mode where selections consisting of more than 7 days will snap to a full week.



_monthStringInsets
protected Insets _monthStringInsets(Code)
Insets used in determining the rectangle for the month string background.




Constructor Detail
JXMonthView
public JXMonthView()(Code)
Create a new instance of the JXMonthView class using the month and year of the current day as the first date to display.



JXMonthView
public JXMonthView(long initialTime)(Code)
Create a new instance of the JXMonthView class using the month and year from initialTime as the first date to display.
Parameters:
  initialTime - The first month to display.




Method Detail
addActionListener
public void addActionListener(ActionListener l)(Code)
Adds an ActionListener.

The ActionListener will receive an ActionEvent when a selection has been made.
Parameters:
  l - The ActionListener that is to be notified




addNotify
public void addNotify()(Code)



ensureDateVisible
public void ensureDateVisible(long date)(Code)
Moves the date into the visible region of the calendar. If the date is greater than the last visible date it will become the last visible date. While if it is less than the first visible date it will become the first visible date.
Parameters:
  date - Date to make visible.



fireActionPerformed
protected void fireActionPerformed()(Code)
Fires an ActionEvent to all listeners.



getActionCommand
public String getActionCommand()(Code)
Returns the string currently used to identiy fired ActionEvents. String The string used for identifying ActionEvents.



getAntialiased
public boolean getAntialiased()(Code)
Returns true if anti-aliased text is enabled for this component, false otherwise. boolean true if anti-aliased text is enabled,false otherwise.



getBoxPaddingX
public int getBoxPaddingX()(Code)
Returns the padding used between days in the calendar.



getBoxPaddingY
public int getBoxPaddingY()(Code)
Returns the padding used above and below days in the calendar.



getDayAt
public long getDayAt(int x, int y)(Code)
Return a long representing the date at the specified x/y position. The date returned will have a valid day, month and year. Other fields such as hour, minute, second and milli-second will be set to 0.
Parameters:
  x - X position
Parameters:
  y - Y position long The date, -1 if position does not contain a date.



getDaysOfTheWeek
public String[] getDaysOfTheWeek()(Code)
Returns the single character representation for each day of the week. Single character representation for the days of the week



getFirstDayOfWeek
public int getFirstDayOfWeek()(Code)
Gets what the first day of the week is; e.g., Calendar.SUNDAY in the U.S., Calendar.MONDAY in France. int The first day of the week.



getFirstDisplayedDate
public long getFirstDisplayedDate()(Code)
Returns the first displayed date. long The first displayed date.



getLastDisplayedDate
public long getLastDisplayedDate()(Code)
Returns the last date able to be displayed. For example, if the last visible month was April the time returned would be April 30, 23:59:59. long The last displayed date.



getMaximumSize
public Dimension getMaximumSize()(Code)
Returns the maximum size of this component. Dimension Maximum size.



getMinimumSize
public Dimension getMinimumSize()(Code)
Returns the minimum size needed to display this component. Dimension Minimum size.



getMonthStringBackground
public Color getMonthStringBackground()(Code)
Returns the color used to paint the month string background. Color Color.



getMonthStringInsets
public Insets getMonthStringInsets()(Code)
Returns a copy of the insets used to paint the month string background. Insets Month string insets.



getPreferredCols
public int getPreferredCols()(Code)
Returns the preferred number of columns to paint calendars in. int Columns of calendars.



getPreferredRows
public int getPreferredRows()(Code)
Returns the preferred number of rows to paint calendars in. int Rows of calendars.



getPreferredSize
public Dimension getPreferredSize()(Code)
Returns the preferred size of this component. Dimension Preferred size.



getSelectedBackground
public Color getSelectedBackground()(Code)
Returns the selected background color. the selected background color.



getSelectedDateSpan
public DateSpan getSelectedDateSpan()(Code)
Returns a date span of the selected dates. The result will be null if no dates are selected.



getSelectionMode
public int getSelectionMode()(Code)
Returns the current selection mode for this JXMonthView. int Selection mode.



getTimeZone
public TimeZone getTimeZone()(Code)
Gets the time zone. The TimeZone used by the JXMonthView.



getTodayBackground
public Color getTodayBackground()(Code)
Returns the color used when painting the today background. Color Color



paintComponent
protected void paintComponent(Graphics g)(Code)



paintMonthStringBackground
protected void paintMonthStringBackground(Graphics g, int x, int y, int width, int height)(Code)
Paints the background of the month string. The bounding box for this background can be modified by setting its insets via setMonthStringInsets. The color of the background can be set via setMonthStringBackground.
See Also:   JXMonthView.setMonthStringBackground
See Also:   JXMonthView.setMonthStringInsets
Parameters:
  g - Graphics object to paint to.
Parameters:
  x - x-coordinate of upper left corner.
Parameters:
  y - y-coordinate of upper left corner.
Parameters:
  width - width of the bounding box.
Parameters:
  height - height of the bounding box.



paintSelectedDayBackground
protected void paintSelectedDayBackground(Graphics g, int x, int y, int width, int height)(Code)
Paint the background for a selected day. The default is a filled rectangle in the in the component's background color.
Parameters:
  g - Graphics object to paint to.
Parameters:
  x - x-coordinate of upper left corner.
Parameters:
  y - y-coordinate of upper left corner.
Parameters:
  width - width of bounding box for the day.
Parameters:
  height - height of bounding box for the day.



paintTodayBackground
protected void paintTodayBackground(Graphics g, int x, int y, int width, int height)(Code)
Paints the background for today. The default is a rectangle drawn in using the color set by setTodayBackground
See Also:   JXMonthView.setTodayBackground
Parameters:
  g - Graphics object to paint to.
Parameters:
  x - x-coordinate of upper left corner.
Parameters:
  y - y-coordinate of upper left corner.
Parameters:
  width - width of bounding box for the day.
Parameters:
  height - height of bounding box for the day.



processMouseEvent
protected void processMouseEvent(MouseEvent e)(Code)



processMouseMotionEvent
protected void processMouseMotionEvent(MouseEvent e)(Code)



removeActionListener
public void removeActionListener(ActionListener l)(Code)
Removes an ActionListener.
Parameters:
  l - The action listener to remove.



removeNotify
public void removeNotify()(Code)



setActionCommand
public void setActionCommand(String actionCommand)(Code)
Sets the string used to identify fired ActionEvents.
Parameters:
  actionCommand - The string used for identifying ActionEvents.



setAntialiased
public void setAntialiased(boolean antiAlias)(Code)
Turns on/off anti-aliased text for this component.
Parameters:
  antiAlias - true for anti-aliased text,false to turn it off.



setBorder
public void setBorder(Border border)(Code)
Sets the border of this component. The Border object is responsible for defining the insets for the component (overriding any insets set directly on the component) and for optionally rendering any border decorations within the bounds of those insets. Borders should be used (rather than insets) for creating both decorative and non-decorative (such as margins and padding) regions for a swing component. Compound borders can be used to nest multiple borders within a single component.

As the border may modify the bounds of the component, setting the border may result in a reduced number of displayed calendars.
Parameters:
  border - Border.




setBounds
public void setBounds(int x, int y, int width, int height)(Code)
Moves and resizes this component. The new location of the top-left corner is specified by x and y, and the new size is specified by width and height.
Parameters:
  x - The new x-coordinate of this component
Parameters:
  y - The new y-coordinate of this component
Parameters:
  width - The new width of this component
Parameters:
  height - The new height of this component



setBounds
public void setBounds(Rectangle r)(Code)
Moves and resizes this component to conform to the new bounding rectangle r. This component's new position is specified by r.x and r.y, and its new size is specified by r.width and r.height
Parameters:
  r - The new bounding rectangle for this component



setBoxPaddingX
public void setBoxPaddingX(int _boxPaddingX)(Code)
Sets the number of pixels used to pad the left and right side of a day. The padding is applied to both sides of the days. Therefore, if you used the padding value of 3, the number of pixels between any two days would be 6.



setBoxPaddingY
public void setBoxPaddingY(int _boxPaddingY)(Code)
Sets the number of pixels used to pad the top and bottom of a day. The padding is applied to both the top and bottom of a day. Therefore, if you used the padding value of 3, the number of pixels between any two days would be 6.



setComponentOrientation
public void setComponentOrientation(ComponentOrientation o)(Code)
Sets the language-sensitive orientation that is to be used to order the elements or text within this component. Language-sensitive LayoutManager and Component subclasses will use this property to determine how to lay out and draw components.

At construction time, a component's orientation is set to ComponentOrientation.UNKNOWN, indicating that it has not been specified explicitly. The UNKNOWN orientation behaves the same as ComponentOrientation.LEFT_TO_RIGHT.
Parameters:
  o - The component orientation.




setDaysOfTheWeek
public void setDaysOfTheWeek(String[] days) throws IllegalArgumentException, NullPointerException(Code)
Sets the single character representation for each day of the week. For this method the first days of the week days[0] is assumed to be Calendar.SUNDAY.
throws:
  IllegalArgumentException - if days.length != 7
throws:
  NullPointerException - if days == null



setFirstDayOfWeek
public void setFirstDayOfWeek(int firstDayOfWeek)(Code)
Sets what the first day of the week is; e.g., Calendar.SUNDAY in US, Calendar.MONDAY in France.
Parameters:
  firstDayOfWeek - The first day of the week.
See Also:   java.util.Calendar



setFirstDisplayedDate
public void setFirstDisplayedDate(long date)(Code)
Set the first displayed date. We only use the month and year of this date. The Calendar.DAY_OF_MONTH field is reset to 1 and all other fields, with exception of the year and month , are reset to 0.
Parameters:
  date - The first displayed date.



setFlaggedDates
public void setFlaggedDates(long[] flaggedDates)(Code)
An array of longs defining days that should be flagged. This array is assumed to be in sorted order from least to greatest.



setFont
public void setFont(Font font)(Code)
Sets the font of this component.
Parameters:
  font - The font to become this component's font; if this parameteris null then this component will inherit the font of its parent.



setMonthStringBackground
public void setMonthStringBackground(Color c)(Code)
Sets the color used to draw the background of the month string. The default is Color.LIGHT_GRAY.



setMonthStringInsets
public void setMonthStringInsets(Insets insets)(Code)
Insets used to modify the width/height when painting the background of the month string area.
Parameters:
  insets - Insets



setPreferredCols
public void setPreferredCols(int cols)(Code)
The preferred number of columns to paint calendars.
Parameters:
  cols - The number of columns of calendars.



setPreferredRows
public void setPreferredRows(int rows)(Code)
Sets the preferred number of rows to paint calendars.
Parameters:
  rows - The number of rows of calendars.



setSelectedBackground
public void setSelectedBackground(Color c)(Code)
Sets the selected background color to c. The default color is Color.LIGHT_GRAY.
Parameters:
  c - Selected background.



setSelectedDateSpan
public void setSelectedDateSpan(DateSpan dateSpan)(Code)
Selects the dates in the DateSpan. This method will not change the initial date displayed so the caller must update this if necessary. If we are in SINGLE_SELECTION mode only the start time from the DateSpan will be used. If we are in WEEK_SELECTION mode the span will be modified to be valid if necessary.
Parameters:
  dateSpan - DateSpan defining the selected dates. Passing null will clear the selection.



setSelectionMode
public void setSelectionMode(int mode) throws IllegalArgumentException(Code)
Set the selection mode for this JXMonthView.
throws:
  IllegalArgumentException -



setTimeZone
public void setTimeZone(TimeZone tz)(Code)
Sets the time zone with the given time zone value.
Parameters:
  tz - The TimeZone.



setTodayBackground
public void setTodayBackground(Color c)(Code)
Sets the color used to draw the bounding box around today. The default is the background of the JXMonthView component.



updateUI
public void updateUI()(Code)
Resets the UI property to a value from the current look and feel.



Fields inherited from javax.swing.JComponent
final public static String TOOL_TIP_TEXT_KEY(Code)(Java Doc)
final public static int UNDEFINED_CONDITION(Code)(Java Doc)
final public static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT(Code)(Java Doc)
final public static int WHEN_FOCUSED(Code)(Java Doc)
final public static int WHEN_IN_FOCUSED_WINDOW(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
protected EventListenerList listenerList(Code)(Java Doc)
protected transient ComponentUI ui(Code)(Java Doc)

Methods inherited from javax.swing.JComponent
public void addAncestorListener(AncestorListener listener)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void computeVisibleRect(Rectangle visibleRect)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public JToolTip createToolTip()(Code)(Java Doc)
public void disable()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws java.beans.PropertyVetoException(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc)
final public ActionMap getActionMap()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public AncestorListener[] getAncestorListeners()(Code)(Java Doc)
public boolean getAutoscrolls()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Border getBorder()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
final public Object getClientProperty(Object key)(Code)(Java Doc)
protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc)
public JPopupMenu getComponentPopupMenu()(Code)(Java Doc)
public int getConditionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc)
public int getDebugGraphicsOptions()(Code)(Java Doc)
public static Locale getDefaultLocale()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public boolean getInheritsPopupMenu()(Code)(Java Doc)
final public InputMap getInputMap(int condition)(Code)(Java Doc)
final public InputMap getInputMap()(Code)(Java Doc)
public InputVerifier getInputVerifier()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public Insets getInsets(Insets insets)(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Component getNextFocusableComponent()(Code)(Java Doc)
public Point getPopupLocation(MouseEvent event)(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc)
public String getToolTipText()(Code)(Java Doc)
public String getToolTipText(MouseEvent event)(Code)(Java Doc)
public Container getTopLevelAncestor()(Code)(Java Doc)
public TransferHandler getTransferHandler()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc)
public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc)
public Rectangle getVisibleRect()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public void grabFocus()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public static boolean isLightweightComponent(Component c)(Code)(Java Doc)
public boolean isManagingFocus()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isOptimizedDrawingEnabled()(Code)(Java Doc)
final public boolean isPaintingForPrint()(Code)(Java Doc)
public boolean isPaintingTile()(Code)(Java Doc)
public boolean isRequestFocusEnabled()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
protected void paintBorder(Graphics g)(Code)(Java Doc)
protected void paintChildren(Graphics g)(Code)(Java Doc)
protected void paintComponent(Graphics g)(Code)(Java Doc)
public void paintImmediately(int x, int y, int w, int h)(Code)(Java Doc)
public void paintImmediately(Rectangle r)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void printBorder(Graphics g)(Code)(Java Doc)
protected void printChildren(Graphics g)(Code)(Java Doc)
protected void printComponent(Graphics g)(Code)(Java Doc)
protected void processComponentKeyEvent(KeyEvent e)(Code)(Java Doc)
protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
final public void putClientProperty(Object key, Object value)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc)
public void removeAncestorListener(AncestorListener listener)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(Rectangle r)(Code)(Java Doc)
public boolean requestDefaultFocus()(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void resetKeyboardActions()(Code)(Java Doc)
public void reshape(int x, int y, int w, int h)(Code)(Java Doc)
public void revalidate()(Code)(Java Doc)
public void scrollRectToVisible(Rectangle aRect)(Code)(Java Doc)
final public void setActionMap(ActionMap am)(Code)(Java Doc)
public void setAlignmentX(float alignmentX)(Code)(Java Doc)
public void setAlignmentY(float alignmentY)(Code)(Java Doc)
public void setAutoscrolls(boolean autoscrolls)(Code)(Java Doc)
public void setBackground(Color bg)(Code)(Java Doc)
public void setBorder(Border border)(Code)(Java Doc)
public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc)
public void setDebugGraphicsOptions(int debugOptions)(Code)(Java Doc)
public static void setDefaultLocale(Locale l)(Code)(Java Doc)
public void setDoubleBuffered(boolean aFlag)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFont(Font font)(Code)(Java Doc)
public void setForeground(Color fg)(Code)(Java Doc)
public void setInheritsPopupMenu(boolean value)(Code)(Java Doc)
final public void setInputMap(int condition, InputMap map)(Code)(Java Doc)
public void setInputVerifier(InputVerifier inputVerifier)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setNextFocusableComponent(Component aComponent)(Code)(Java Doc)
public void setOpaque(boolean isOpaque)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
public void setRequestFocusEnabled(boolean requestFocusEnabled)(Code)(Java Doc)
public void setToolTipText(String text)(Code)(Java Doc)
public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc)
protected void setUI(ComponentUI newUI)(Code)(Java Doc)
public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)(Code)(Java Doc)
public void setVisible(boolean aFlag)(Code)(Java Doc)
public void unregisterKeyboardAction(KeyStroke aKeyStroke)(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.