org.apache.directory.studio.apacheds
Class PreferenceStoreUtils

java.lang.Object
  extended by org.apache.directory.studio.apacheds.PreferenceStoreUtils

public class PreferenceStoreUtils
extends java.lang.Object

This class is used to store utilities for the preference store.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
PreferenceStoreUtils()
           
 
Method Summary
static boolean isBold(org.eclipse.swt.graphics.FontData[] fontDatas)
          Indicates if the given array of FontData is bold.
static boolean isItalic(org.eclipse.swt.graphics.FontData[] fontDatas)
          Indicates if the given array of FontData is italic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferenceStoreUtils

public PreferenceStoreUtils()
Method Detail

isItalic

public static boolean isItalic(org.eclipse.swt.graphics.FontData[] fontDatas)
Indicates if the given array of FontData is italic.

Parameters:
fontDatas - the array
Returns:
true if the given array of FontData is italic, false if not.

isBold

public static boolean isBold(org.eclipse.swt.graphics.FontData[] fontDatas)
Indicates if the given array of FontData is bold.

Parameters:
fontDatas - the array
Returns:
true if the given array of FontData is bold, false if not.


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.