IMathNaryOperatorProperties
public interface IMathNaryOperatorProperties
Specifies properties of IMathNaryOperator
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | char |
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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |