net.sourceforge.squirrel_sql.plugins.syntax
Class SyntaxPreferences

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.syntax.SyntaxPreferences
All Implemented Interfaces:
Serializable, Cloneable

public class SyntaxPreferences
extends Object
implements Serializable, Cloneable

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

Author:
Colin Bell
See Also:
Serialized Form

Nested Class Summary
static interface SyntaxPreferences.IPropertyNames
           
 
Constructor Summary
SyntaxPreferences()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 Object clone()
           
 SyntaxStyle getColumnStyle()
           
 SyntaxStyle getCommentStyle()
           
 SyntaxStyle getDataTypeStyle()
           
 SyntaxStyle getErrorStyle()
           
 SyntaxStyle getFunctionStyle()
           
 SyntaxStyle getIdentifierStyle()
           
 SyntaxStyle getLiteralStyle()
           
 SyntaxStyle getOperatorStyle()
           
 SyntaxStyle getReservedWordStyle()
           
 SyntaxStyle getSeparatorStyle()
           
 SyntaxStyle getTableStyle()
           
 int getTextLimitLineWidth()
           
 boolean getUsePlainTextControl()
           
 boolean getUseRSyntaxTextArea()
           
 SyntaxStyle getWhiteSpaceStyle()
           
 boolean isHighlightCurrentLine()
           
 boolean isLineNumbersEnabled()
           
 boolean isTextLimitLineVisible()
           
 boolean isUseCopyAsRtf()
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void setColumnStyle(SyntaxStyle data)
           
 void setCommentStyle(SyntaxStyle data)
           
 void setDataTypeStyle(SyntaxStyle data)
           
 void setErrorStyle(SyntaxStyle data)
           
 void setFunctionStyle(SyntaxStyle data)
           
 void setHighlightCurrentLine(boolean data)
           
 void setIdentifierStyle(SyntaxStyle data)
           
 void setLineNumbersEnabled(boolean data)
           
 void setLiteralStyle(SyntaxStyle data)
           
 void setOperatorStyle(SyntaxStyle data)
           
 void setReservedWordStyle(SyntaxStyle data)
           
 void setSeparatorStyle(SyntaxStyle data)
           
 void setTableStyle(SyntaxStyle data)
           
 void setTextLimitLineVisible(boolean data)
           
 void setTextLimitLineWidth(int data)
           
 void setUseCopyAsRtf(boolean useCopyAsRtf)
           
 void setUseNetbeansTextControl(boolean data)
          Deprecated. Netbeans editor has been removed. This is just here to automatically switch users of the Netbeans editor to RSyntax
 void setUseOsterTextControl(boolean data)
          Deprecated. Oster editor has been removed. This is just here to automatically switch users of the Oster editor to RSyntax
 void setUsePlainTextControl(boolean data)
           
 void setUseRSyntaxTextArea(boolean data)
           
 void setWhiteSpaceStyle(SyntaxStyle data)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntaxPreferences

public SyntaxPreferences()
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)

setUseOsterTextControl

public void setUseOsterTextControl(boolean data)
Deprecated. Oster editor has been removed. This is just here to automatically switch users of the Oster editor to RSyntax


setUseNetbeansTextControl

public void setUseNetbeansTextControl(boolean data)
Deprecated. Netbeans editor has been removed. This is just here to automatically switch users of the Netbeans editor to RSyntax


getUseRSyntaxTextArea

public boolean getUseRSyntaxTextArea()

setUseRSyntaxTextArea

public void setUseRSyntaxTextArea(boolean data)

getUsePlainTextControl

public boolean getUsePlainTextControl()

setUsePlainTextControl

public void setUsePlainTextControl(boolean data)

isTextLimitLineVisible

public boolean isTextLimitLineVisible()

setTextLimitLineVisible

public void setTextLimitLineVisible(boolean data)

getTextLimitLineWidth

public int getTextLimitLineWidth()

setTextLimitLineWidth

public void setTextLimitLineWidth(int data)

isHighlightCurrentLine

public boolean isHighlightCurrentLine()

setHighlightCurrentLine

public void setHighlightCurrentLine(boolean data)

isLineNumbersEnabled

public boolean isLineNumbersEnabled()

setLineNumbersEnabled

public void setLineNumbersEnabled(boolean data)

getCommentStyle

public SyntaxStyle getCommentStyle()

setCommentStyle

public void setCommentStyle(SyntaxStyle data)

getDataTypeStyle

public SyntaxStyle getDataTypeStyle()

setDataTypeStyle

public void setDataTypeStyle(SyntaxStyle data)

getErrorStyle

public SyntaxStyle getErrorStyle()

setErrorStyle

public void setErrorStyle(SyntaxStyle data)

getFunctionStyle

public SyntaxStyle getFunctionStyle()

setFunctionStyle

public void setFunctionStyle(SyntaxStyle data)

getIdentifierStyle

public SyntaxStyle getIdentifierStyle()

setIdentifierStyle

public void setIdentifierStyle(SyntaxStyle data)

getLiteralStyle

public SyntaxStyle getLiteralStyle()

setLiteralStyle

public void setLiteralStyle(SyntaxStyle data)

getTableStyle

public SyntaxStyle getTableStyle()

setTableStyle

public void setTableStyle(SyntaxStyle data)

getColumnStyle

public SyntaxStyle getColumnStyle()

setColumnStyle

public void setColumnStyle(SyntaxStyle data)

getOperatorStyle

public SyntaxStyle getOperatorStyle()

setOperatorStyle

public void setOperatorStyle(SyntaxStyle data)

getReservedWordStyle

public SyntaxStyle getReservedWordStyle()

setReservedWordStyle

public void setReservedWordStyle(SyntaxStyle data)

getSeparatorStyle

public SyntaxStyle getSeparatorStyle()

setSeparatorStyle

public void setSeparatorStyle(SyntaxStyle data)

getWhiteSpaceStyle

public SyntaxStyle getWhiteSpaceStyle()

setWhiteSpaceStyle

public void setWhiteSpaceStyle(SyntaxStyle data)

isUseCopyAsRtf

public boolean isUseCopyAsRtf()
Returns:
the useCopyAsRtf

setUseCopyAsRtf

public void setUseCopyAsRtf(boolean useCopyAsRtf)
Parameters:
_useCopyAsRtf - the useCopyAsRtf to set


Copyright © 2001-2011. All Rights Reserved.