net.sourceforge.squirrel_sql.plugins.laf
Class LAFPreferences

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.laf.LAFPreferences
All Implemented Interfaces:
Serializable, Cloneable, IHasIdentifier

public class LAFPreferences
extends Object
implements Cloneable, Serializable, IHasIdentifier

This JavaBean class represents the user specific preferences for this plugin.

Author:
Colin Bell
See Also:
Serialized Form

Constructor Summary
LAFPreferences()
           
LAFPreferences(IIdentifier id)
           
 
Method Summary
 Object clone()
          Return a copy of this object.
 boolean equals(Object obj)
           
 boolean getCanLAFSetBorder()
          Specifies whether LAF allowed to set frame and dialog title bars and borders.
 IIdentifier getId()
          Gets the _id.
 IIdentifier getIdentifier()
           
 String getLookAndFeelClassName()
           
 FontInfo getMenuFontInfo()
           
 FontInfo getOtherFontInfo()
           
 FontInfo getStaticFontInfo()
           
 FontInfo getStatusBarFontInfo()
           
 int hashCode()
           
 boolean isMenuFontEnabled()
           
 boolean isOtherFontEnabled()
           
 boolean isStaticFontEnabled()
           
 boolean isStatusBarFontEnabled()
           
 void setCanLAFSetBorder(boolean value)
          Set whether LAF allowed to set frame and dialog title bars and borders.
 void setId(IIdentifier _id)
          Sets the _id.
 void setLookAndFeelClassName(String data)
           
 void setMenuFontEnabled(boolean data)
           
 void setMenuFontInfo(FontInfo data)
           
 void setOtherFontEnabled(boolean data)
           
 void setOtherFontInfo(FontInfo data)
           
 void setStaticFontEnabled(boolean data)
           
 void setStaticFontInfo(FontInfo data)
           
 void setStatusBarFontEnabled(boolean data)
           
 void setStatusBarFontInfo(FontInfo data)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LAFPreferences

public LAFPreferences()

LAFPreferences

public LAFPreferences(IIdentifier id)
Method Detail

clone

public Object clone()
Return a copy of this object.

Overrides:
clone in class Object

getLookAndFeelClassName

public String getLookAndFeelClassName()

setLookAndFeelClassName

public void setLookAndFeelClassName(String data)

getMenuFontInfo

public FontInfo getMenuFontInfo()

setMenuFontInfo

public void setMenuFontInfo(FontInfo data)

getStaticFontInfo

public FontInfo getStaticFontInfo()

setStaticFontInfo

public void setStaticFontInfo(FontInfo data)

getStatusBarFontInfo

public FontInfo getStatusBarFontInfo()

setStatusBarFontInfo

public void setStatusBarFontInfo(FontInfo data)

getOtherFontInfo

public FontInfo getOtherFontInfo()

setOtherFontInfo

public void setOtherFontInfo(FontInfo data)

isMenuFontEnabled

public boolean isMenuFontEnabled()

setMenuFontEnabled

public void setMenuFontEnabled(boolean data)

isStaticFontEnabled

public boolean isStaticFontEnabled()

setStaticFontEnabled

public void setStaticFontEnabled(boolean data)

isStatusBarFontEnabled

public boolean isStatusBarFontEnabled()

setStatusBarFontEnabled

public void setStatusBarFontEnabled(boolean data)

isOtherFontEnabled

public boolean isOtherFontEnabled()

setOtherFontEnabled

public void setOtherFontEnabled(boolean data)

getIdentifier

public IIdentifier getIdentifier()
Specified by:
getIdentifier in interface IHasIdentifier
See Also:
IHasIdentifier.getIdentifier()

getId

public IIdentifier getId()
Gets the _id.

Returns:
Returns a IIdentifier

setId

public void setId(IIdentifier _id)
Sets the _id.

Parameters:
_id - The _id to set

getCanLAFSetBorder

public boolean getCanLAFSetBorder()
Specifies whether LAF allowed to set frame and dialog title bars and borders.


setCanLAFSetBorder

public void setCanLAFSetBorder(boolean value)
Set whether LAF allowed to set frame and dialog title bars and borders.


hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)


Copyright © 2001-2013. All Rights Reserved.