org.kde.koala
Class KCalendarSystemFactory

java.lang.Object
  extended by org.kde.koala.KCalendarSystemFactory
All Implemented Interfaces:
org.kde.qt.QtSupport

public class KCalendarSystemFactory
extends java.lang.Object
implements org.kde.qt.QtSupport

Factory class for calendar types

Author:
Carlos Moro

Constructor Summary
  KCalendarSystemFactory()
           
protected KCalendarSystemFactory(java.lang.Class dummy)
           
 
Method Summary
static java.util.ArrayList calendarSystems()
          Gets list of names of supported calendar systems
static KCalendarSystem create()
           
static KCalendarSystem create(java.lang.String calType)
           
static KCalendarSystem create(java.lang.String calType, KLocale locale)
          Gets specific calendar type number of days in previous month for a given date
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
protected  void finalize()
          Deletes the wrapped C++ instance
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KCalendarSystemFactory

protected KCalendarSystemFactory(java.lang.Class dummy)

KCalendarSystemFactory

public KCalendarSystemFactory()
Method Detail

create

public static KCalendarSystem create(java.lang.String calType,
                                     KLocale locale)
Gets specific calendar type number of days in previous month for a given date

Parameters:
calType - string identification of the specific calendar type to be constructed
locale - Locale used for translations. Use the global locale when 0 is specified.
Returns:
a KCalendarSystem object

create

public static KCalendarSystem create(java.lang.String calType)

create

public static KCalendarSystem create()

calendarSystems

public static java.util.ArrayList calendarSystems()
Gets list of names of supported calendar systems

Returns:
An ArrayList object

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?