net.sf.advjavacalendar
Class CalendarApplication

java.lang.Object
  extended by net.sf.advjavacalendar.CalendarApplication

public class CalendarApplication
extends java.lang.Object

Main application class

Author:
probstl

Method Summary
 CalendarFrame getFrame()
          Returns the JFrame of the application
static CalendarApplication getInstance()
          Returns the singleton instance
 java.util.Locale getLocale()
          Returns the current set locale
 java.awt.Image icon(java.lang.String key)
          Returns the icon from the current ResourceBundle in the current locale
 java.lang.String key(java.lang.String key)
          Returns the given key out of the current Resourcebundle
 void setLocale(java.util.Locale locale)
          Changes the current Locale to the given
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CalendarApplication getInstance()
Returns the singleton instance

Returns:

getFrame

public CalendarFrame getFrame()
Returns the JFrame of the application

Returns:

key

public java.lang.String key(java.lang.String key)
Returns the given key out of the current Resourcebundle

Parameters:
key -
Returns:

icon

public java.awt.Image icon(java.lang.String key)
Returns the icon from the current ResourceBundle in the current locale

Parameters:
key -
Returns:

setLocale

public void setLocale(java.util.Locale locale)
Changes the current Locale to the given

Parameters:
locale -

getLocale

public java.util.Locale getLocale()
Returns the current set locale

Returns:


Copyright © 2008 null. All Rights Reserved.