com.aspose.cells

Class Scenario

  • java.lang.Object
    • com.aspose.cells.Scenario
public class Scenario 
extends java.lang.Object

Represents an individual scenario.

Property Getters/Setters Summary
java.lang.StringgetComment()
void
setComment(java.lang.String)
           Gets and sets the comment of scenario.
ScenarioInputCellCollectiongetInputCells()
Gets the input cells of scenario.
booleanisHidden()
void
setHidden(boolean)
           Indicates whether scenario is hidden.
booleanisLocked()
void
setLocked(boolean)
           Indicates whether scenario is locked for editing when the sheet is protected.
java.lang.StringgetName()
void
setName(java.lang.String)
           Gets and sets the name of scenario.
java.lang.StringgetUser()
Gets name of user who last changed the scenario.
 

    • Property Getters/Setters Detail

      • getComment/setComment

        public java.lang.String getComment() / public void setComment(java.lang.String value)
        
        Gets and sets the comment of scenario.
      • getName/setName

        public java.lang.String getName() / public void setName(java.lang.String value)
        
        Gets and sets the name of scenario.
      • getUser

        public java.lang.String getUser()
        
        Gets name of user who last changed the scenario.
      • isHidden/setHidden

        public boolean isHidden() / public void setHidden(boolean value)
        
        Indicates whether scenario is hidden.
      • isLocked/setLocked

        public boolean isLocked() / public void setLocked(boolean value)
        
        Indicates whether scenario is locked for editing when the sheet is protected.

    setComment

    public voidsetComment(java.lang.Stringvalue)
    
    Gets and sets the comment of scenario.

    setName

    public voidsetName(java.lang.Stringvalue)
    
    Gets and sets the name of scenario.

    setHidden

    public voidsetHidden(booleanvalue)
    
    Indicates whether scenario is hidden.

    setLocked

    public voidsetLocked(booleanvalue)
    
    Indicates whether scenario is locked for editing when the sheet is protected.