IMathNaryOperatorProperties

public interface IMathNaryOperatorProperties

Specifies properties of IMathNaryOperator

Methods

MethodDescription
getOperator()Nary Operator Character For example: ‘\u2211’, ‘\u222b’
setOperator(char value)Nary Operator Character For example: ‘\u2211’, ‘\u222b’
getLimitLocation()The location of limits (subscript and superscript)
setLimitLocation(int value)The location of limits (subscript and superscript)
getGrowToMatchOperandHeight()Operator Character grows vertically to match its operand height
setGrowToMatchOperandHeight(boolean value)Operator Character grows vertically to match its operand height
getHideSubscript()Hide Subscript
setHideSubscript(boolean value)Hide Subscript
getHideSuperscript()Hide Superscript
setHideSuperscript(boolean value)Hide Superscript

getOperator()

public abstract char getOperator()

Nary Operator Character For example: ‘\u2211’, ‘\u222b’


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 char operatorSymbol = naryOperator.getOperator();

Returns: char

setOperator(char value)

public abstract void setOperator(char value)

Nary Operator Character For example: ‘\u2211’, ‘\u222b’


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 char operatorSymbol = naryOperator.getOperator();

Parameters:

ParameterTypeDescription
valuechar

getLimitLocation()

public abstract int getLimitLocation()

The location of limits (subscript and superscript)


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 naryOperator.setLimitLocation(MathLimitLocations.SubscriptSuperscript);

Returns: int

setLimitLocation(int value)

public abstract void setLimitLocation(int value)

The location of limits (subscript and superscript)


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 naryOperator.setLimitLocation(MathLimitLocations.SubscriptSuperscript);

Parameters:

ParameterTypeDescription
valueint

getGrowToMatchOperandHeight()

public abstract boolean getGrowToMatchOperandHeight()

Operator Character grows vertically to match its operand height


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 naryOperator.setGrowToMatchOperandHeight(true);

Returns: boolean

setGrowToMatchOperandHeight(boolean value)

public abstract void setGrowToMatchOperandHeight(boolean value)

Operator Character grows vertically to match its operand height


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 naryOperator.setGrowToMatchOperandHeight(true);

Parameters:

ParameterTypeDescription
valueboolean

getHideSubscript()

public abstract boolean getHideSubscript()

Hide Subscript


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 naryOperator.setHideSubscript(true);

Returns: boolean

setHideSubscript(boolean value)

public abstract void setHideSubscript(boolean value)

Hide Subscript


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 naryOperator.setHideSubscript(true);

Parameters:

ParameterTypeDescription
valueboolean

getHideSuperscript()

public abstract boolean getHideSuperscript()

Hide Superscript


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 naryOperator.setHideSuperscript(true);

Returns: boolean

setHideSuperscript(boolean value)

public abstract void setHideSuperscript(boolean value)

Hide Superscript


Example:
 
 IMathNaryOperator naryOperator = new MathematicalText("x").nary(MathNaryOperatorTypes.Summation, "x=1", "100");
 naryOperator.setHideSuperscript(true);

Parameters:

ParameterTypeDescription
valueboolean