net.ponec.jworksheet.module
Interface JwsContext

Package class diagram package JwsContext
All Known Implementing Classes:
ApplContext

public interface JwsContext

The jWorkSeet module content. The method provides a useful information about state of parameters the jWorkSheet application.

Since:
0.85

Method Summary
 java.io.File getConfigDir()
          Configuration Directory
 java.io.File getConfigFile()
          Configuration Directory
 java.io.File getDataFile()
          Data File
 java.io.File getDataFileBackup()
          Data File Backup
 java.io.File getDataFileTemp()
          Data File for a temporarry usage.
 java.util.Locale getLanguage()
          Current Language
 Parameters getParameters()
          Parameters of the application.
 YearMonthDay getSelectedDay()
          Get "Selected Day" - don't modify it!
 java.io.File getStyleDir()
          Style Directory
 java.io.File getStyleFile(java.lang.String fileName)
          Get a style file
 javax.swing.JTabbedPane getTabbedPane()
          Get a main Tabbed pane of the application for adding a new panels.
 JWorkSheet getTopFrame()
          Get JWorkSheet instance
 WorkDay getWorkDay()
          Get Work Day
 WorkSpace getWorkSpace()
          Load WorkSpace
 boolean isStarting()
          Does application starting
 boolean isSystrayEnabled()
          Systray is enabled in case a parameter is supported AND system is supported too
 boolean isToday()
          Is selected time Today?
 

Method Detail

getWorkSpace

WorkSpace getWorkSpace()
Load WorkSpace


getConfigDir

java.io.File getConfigDir()
Configuration Directory


getStyleDir

java.io.File getStyleDir()
Style Directory


getConfigFile

java.io.File getConfigFile()
Configuration Directory


getDataFile

java.io.File getDataFile()
Data File


getDataFileTemp

java.io.File getDataFileTemp()
                             throws java.io.IOException
Data File for a temporarry usage.

Throws:
java.io.IOException

getDataFileBackup

java.io.File getDataFileBackup()
Data File Backup


getStyleFile

java.io.File getStyleFile(java.lang.String fileName)
Get a style file


getSelectedDay

YearMonthDay getSelectedDay()
Get "Selected Day" - don't modify it!


isToday

boolean isToday()
Is selected time Today?


getLanguage

java.util.Locale getLanguage()
Current Language


getWorkDay

WorkDay getWorkDay()
Get Work Day


getParameters

Parameters getParameters()
Parameters of the application.


isStarting

boolean isStarting()
Does application starting


getTopFrame

JWorkSheet getTopFrame()
Get JWorkSheet instance


getTabbedPane

javax.swing.JTabbedPane getTabbedPane()
Get a main Tabbed pane of the application for adding a new panels.


isSystrayEnabled

boolean isSystrayEnabled()
Systray is enabled in case a parameter is supported AND system is supported too



Copyright © 2007-2009 PPonec