org.argouml.kernel
Class ProjectSettings

java.lang.Object
  extended byorg.argouml.kernel.ProjectSettings

public class ProjectSettings
extends Object

A datastructure for settings for a Project.

Most getters return a string, since they are used by "argo.tee". This is also the reason all these attributes are not part of a Map or something.


Method Summary
 String getDefaultShadowWidth()
          Used by "argo.tee".
 int getDefaultShadowWidthValue()
           
 String getLeftGuillemot()
           
 String getNotationLanguage()
          Used by "argo.tee".
 NotationName getNotationName()
           
 String getRightGuillemot()
           
 String getShowInitialValue()
          Used by "argo.tee".
 boolean getShowInitialValueValue()
           
 String getShowMultiplicity()
          Used by "argo.tee".
 boolean getShowMultiplicityValue()
           
 String getShowProperties()
          Used by "argo.tee".
 boolean getShowPropertiesValue()
           
 String getShowStereotypes()
          Used by "argo.tee".
 boolean getShowStereotypesValue()
           
 String getShowTypes()
          Used by "argo.tee".
 boolean getShowTypesValue()
           
 String getShowVisibility()
          Used by "argo.tee".
 boolean getShowVisibilityValue()
           
 String getUseGuillemots()
          Used by "argo.tee".
 boolean getUseGuillemotsValue()
           
 void setDefaultShadowWidth(int width)
           
 void setDefaultShadowWidth(String width)
           
 void setNotationLanguage(NotationName nn)
           
 void setNotationLanguage(String language)
           
 void setShowInitialValue(boolean showem)
           
 void setShowInitialValue(String showem)
           
 void setShowMultiplicity(boolean showem)
           
 void setShowMultiplicity(String showem)
           
 void setShowProperties(boolean showem)
           
 void setShowProperties(String showem)
           
 void setShowStereotypes(boolean showem)
           
 void setShowStereotypes(String showem)
           
 void setShowTypes(boolean showem)
           
 void setShowTypes(String showem)
           
 void setShowVisibility(boolean showem)
           
 void setShowVisibility(String showem)
           
 void setUseGuillemots(boolean showem)
           
 void setUseGuillemots(String showem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNotationLanguage

public String getNotationLanguage()
Used by "argo.tee".

Returns:
Returns the notation language.

getNotationName

public NotationName getNotationName()
Returns:
Returns the notation language.

setNotationLanguage

public void setNotationLanguage(String language)
Parameters:
language - the notation language.

setNotationLanguage

public void setNotationLanguage(NotationName nn)
Parameters:
nn - the new notation language

getUseGuillemots

public String getUseGuillemots()
Used by "argo.tee".

Returns:
Returns "true" if we show guillemots.

getUseGuillemotsValue

public boolean getUseGuillemotsValue()
Returns:
Returns true if we show guillemots.

setUseGuillemots

public void setUseGuillemots(String showem)
Parameters:
showem - true if guillemots are to be shown.

setUseGuillemots

public void setUseGuillemots(boolean showem)
Parameters:
showem - true if guillemots are to be shown.

getLeftGuillemot

public String getLeftGuillemot()
Returns:
the left pointing guillemot, i.e. << or the one-character symbol

getRightGuillemot

public String getRightGuillemot()
Returns:
the right pointing guillemot, i.e. >> or the one-character symbol

getShowVisibility

public String getShowVisibility()
Used by "argo.tee".

Returns:
Returns "true" if we show visibilities.

getShowVisibilityValue

public boolean getShowVisibilityValue()
Returns:
Returns true if we show visibilities.

setShowVisibility

public void setShowVisibility(String showem)
Parameters:
showem - true if visibilities are to be shown.

setShowVisibility

public void setShowVisibility(boolean showem)
Parameters:
showem - true if visibilities are to be shown.

getShowMultiplicity

public String getShowMultiplicity()
Used by "argo.tee".

Returns:
Returns "true" if we show multiplicities.

getShowMultiplicityValue

public boolean getShowMultiplicityValue()
Returns:
Returns true if we show multiplicities.

setShowMultiplicity

public void setShowMultiplicity(String showem)
Parameters:
showem - true if multiplicity is to be shown.

setShowMultiplicity

public void setShowMultiplicity(boolean showem)
Parameters:
showem - true if the multiplicity is to be shown.

getShowInitialValue

public String getShowInitialValue()
Used by "argo.tee".

Returns:
Returns "true" if we show initial values.

getShowInitialValueValue

public boolean getShowInitialValueValue()
Returns:
Returns true if we show initial values.

setShowInitialValue

public void setShowInitialValue(String showem)
Parameters:
showem - true if initial values are to be shown.

setShowInitialValue

public void setShowInitialValue(boolean showem)
Parameters:
showem - true if initial values are to be shown.

getShowProperties

public String getShowProperties()
Used by "argo.tee".

Returns:
Returns "true" if we show properties.

getShowPropertiesValue

public boolean getShowPropertiesValue()
Returns:
Returns true if we show properties.

setShowProperties

public void setShowProperties(String showem)
Parameters:
showem - true if properties are to be shown.

setShowProperties

public void setShowProperties(boolean showem)
Parameters:
showem - true if properties are to be shown.

getShowTypes

public String getShowTypes()
Used by "argo.tee".

Returns:
Returns "true" if we show types.

getShowTypesValue

public boolean getShowTypesValue()
Returns:
Returns true if we show types.

setShowTypes

public void setShowTypes(String showem)
Parameters:
showem - true if types are to be shown.

setShowTypes

public void setShowTypes(boolean showem)
Parameters:
showem - true if types are to be shown.

getShowStereotypes

public String getShowStereotypes()
Used by "argo.tee".

Returns:
Returns "true" if we show stereotypes.

getShowStereotypesValue

public boolean getShowStereotypesValue()
Returns:
Returns true if we show stereotypes.

setShowStereotypes

public void setShowStereotypes(String showem)
Parameters:
showem - true if stereotypes are to be shown.

setShowStereotypes

public void setShowStereotypes(boolean showem)
Parameters:
showem - true if stereotypes are to be shown.

getDefaultShadowWidth

public String getDefaultShadowWidth()
Used by "argo.tee".

Returns:
Returns the shadow width.

getDefaultShadowWidthValue

public int getDefaultShadowWidthValue()
Returns:
Returns the shadow width.

setDefaultShadowWidth

public void setDefaultShadowWidth(int width)
Parameters:
width - The Shadow Width.

setDefaultShadowWidth

public void setDefaultShadowWidth(String width)
Parameters:
width - The shadow width to set.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook