Class Settings

  extended by ch.claudio.fonts.Settings

public class Settings
extends java.lang.Object

Store settings which should be preserved over invocations.

$Id: 34 2006-07-10 23:55:46Z $
Claudio Nieder

Copyright (C) 2006 Claudio Nieder <>, CH-8610 Uster

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Constructor Summary
Method Summary
static int getFontIndex()
          Return the number of the selected font.
static void main(java.lang.String[] args)
          Print license.
static void setFontIndex(int index)
          Store the index of the selected font.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Settings()
Method Detail


public static int getFontIndex()
Return the number of the selected font. It's up to the caller to adjust the value if it is outside of the range of the available items.

index starting with 0


public static void setFontIndex(int index)
Store the index of the selected font. This is just the index as reported by the list box.

index -


public static void main(java.lang.String[] args)
Print license.

args - ignored