org.civi.util
Class GlobalFlags

java.lang.Object
  extended byorg.civi.util.GlobalFlags

public class GlobalFlags
extends java.lang.Object

This class encapsulates some global parameter used by the CiviApplet.

Author:
Michael Scholz

Method Summary
 void decStart()
           
 int getDoccount()
           
 int getElements()
           
static GlobalFlags getInstance()
           
 java.lang.String getLanguage()
           
 int getPages()
           
 int getPg()
           
 int getScreenSize()
           
 int getStart()
           
 void incStart()
           
 boolean isShowAll()
           
 boolean isShowOnlySelected()
           
 void setDoccount(int doccount)
           
 void setElements(int elements)
           
 void setLanguage(java.lang.String language)
           
 void setPages(int pages)
           
 void setPg(int pg)
           
 void setScreenSize(int screenSize)
           
 void setShowAll(boolean showAll)
           
 void setShowOnlySelected(boolean showOnlySelected)
           
 void setStart(int start)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GlobalFlags getInstance()

isShowOnlySelected

public boolean isShowOnlySelected()
Returns:
Returns the showOnlySelected.

setShowOnlySelected

public void setShowOnlySelected(boolean showOnlySelected)
Parameters:
showOnlySelected - The showOnlySelected to set.

isShowAll

public boolean isShowAll()
Returns:
Returns the showAll.

setShowAll

public void setShowAll(boolean showAll)
Parameters:
showAll - The showAll to set.

getDoccount

public int getDoccount()
Returns:
Returns the doccount.

setDoccount

public void setDoccount(int doccount)
Parameters:
doccount - The doccount to set.

getElements

public int getElements()
Returns:
Returns the elements.

setElements

public void setElements(int elements)
Parameters:
elements - The elements to set.

getStart

public int getStart()
Returns:
Returns the start.

setStart

public void setStart(int start)
Parameters:
start - The start to set.

getLanguage

public java.lang.String getLanguage()
Returns:
Returns the language.

setLanguage

public void setLanguage(java.lang.String language)
Parameters:
language - The language to set.

decStart

public void decStart()

incStart

public void incStart()

getPages

public int getPages()
Returns:
Returns the pages.

setPages

public void setPages(int pages)
Parameters:
pages - The pages to set.

getPg

public int getPg()
Returns:
Returns the pg.

setPg

public void setPg(int pg)
Parameters:
pg - The pg to set.

getScreenSize

public int getScreenSize()
Returns:
Returns the screenSize.

setScreenSize

public void setScreenSize(int screenSize)
Parameters:
screenSize - The screenSize to set.