Copyright 2002 by aragost

com.aragost.araspect
Class InspectorSettings

java.lang.Object
  |
  +--com.aragost.araspect.InspectorSettings

public class InspectorSettings
extends java.lang.Object


Constructor Summary
InspectorSettings()
           
 
Method Summary
 int getCollectionLimit()
          Getter for property collectionLimit.
 boolean getDisplayFields()
          Returns the displayFields.
 boolean getDisplayMethods()
          Returns the displayMethods.
 boolean getDisplayOnlyPublicFields()
          Returns the displayOnlyPublicFields.
static InspectorSettings getInstance()
          Gets the instance.
 int getLineLength()
          Returns the lineLength.
 int getToStringLimit()
          Getter for property toStringLimit.
 boolean isEditEnabled()
          Getter for property editEnabled.
 void setCollectionLimit(int collectionLimit)
          Setter for property collectionLimit.
 void setDisplayFields(boolean displayFields)
          Sets the displayFields.
 void setDisplayMethods(boolean displayMethods)
          Sets the displayMethods.
 void setDisplayOnlyPublicFields(boolean displayOnlyPublicFields)
          Sets the displayOnlyPublicFields.
 void setEditEnabled(boolean editEnabled)
          Setter for property editEnabled.
static void setInstance(InspectorSettings instance)
          Sets the instance.
 void setLineLength(int lineLength)
          Sets the lineLength.
 void setToStringLimit(int toStringLimit)
          Setter for property toStringLimit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InspectorSettings

public InspectorSettings()
Method Detail

isEditEnabled

public boolean isEditEnabled()
Getter for property editEnabled. Only if this is true the user can update fields and properties.

Returns:
Value of property editEnabled.

setEditEnabled

public void setEditEnabled(boolean editEnabled)
Setter for property editEnabled.

Parameters:
editEnabled - New value of property editEnabled.

getToStringLimit

public int getToStringLimit()
Getter for property toStringLimit.

Returns:
Value of property toStringLimit.

setToStringLimit

public void setToStringLimit(int toStringLimit)
Setter for property toStringLimit.

Parameters:
toStringLimit - New value of property toStringLimit.

getCollectionLimit

public int getCollectionLimit()
Getter for property collectionLimit.

Returns:
Value of property collectionLimit.

setCollectionLimit

public void setCollectionLimit(int collectionLimit)
Setter for property collectionLimit.

Parameters:
collectionLimit - New value of property collectionLimit.

getInstance

public static InspectorSettings getInstance()
Gets the instance.

Returns:
Returns a InspectorSettings

setInstance

public static void setInstance(InspectorSettings instance)
Sets the instance.

Parameters:
instance - The instance to set

getDisplayFields

public boolean getDisplayFields()
Returns the displayFields.

Returns:
boolean

getDisplayOnlyPublicFields

public boolean getDisplayOnlyPublicFields()
Returns the displayOnlyPublicFields.

Returns:
boolean

setDisplayFields

public void setDisplayFields(boolean displayFields)
Sets the displayFields.

Parameters:
displayFields - The displayFields to set

setDisplayOnlyPublicFields

public void setDisplayOnlyPublicFields(boolean displayOnlyPublicFields)
Sets the displayOnlyPublicFields.

Parameters:
displayOnlyPublicFields - The displayOnlyPublicFields to set

setLineLength

public void setLineLength(int lineLength)
Sets the lineLength.

Parameters:
lineLength - The lineLength to set

getLineLength

public int getLineLength()
Returns the lineLength.

Returns:
int

getDisplayMethods

public boolean getDisplayMethods()
Returns the displayMethods.

Returns:
boolean

setDisplayMethods

public void setDisplayMethods(boolean displayMethods)
Sets the displayMethods.

Parameters:
displayMethods - The displayMethods to set

Copyright 2002 by aragost