|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEmbedding
An IEmbedding object encapsulates presentation formatting data of an operator and its operands. They include:
Method Summary | |
---|---|
int |
componentCount(int operandCount)
Gives the component count of this embedding. |
int |
componentIndex(int operandIndex)
Maps operand index to component index. |
ExpressionLayoutManager |
getNewLayout()
Returns a new instance of the preferred layout manager. |
int |
operandIndex(int componentIndex)
Maps component index to operand index. |
java.lang.String |
symbol(int componentIndex)
Gives the operator symbol at the component index, or null if there should be an operand at the component index. |
Method Detail |
---|
ExpressionLayoutManager getNewLayout()
int componentIndex(int operandIndex)
operandIndex
- the operand index.
java.lang.ArrayIndexOutOfBoundsException
- when it is blatantly
obvious to me that the operand index is invalid.int operandIndex(int componentIndex)
componentIndex
- the component index.
java.lang.ArrayIndexOutOfBoundsException
- when it is blatantly
obvious to me that the component index is invalid.java.lang.String symbol(int componentIndex)
componentIndex
- the component index.
java.lang.ArrayIndexOutOfBoundsException
- when it is blatantly
obvious to me that the component index is invalid.int componentCount(int operandCount)
operandCount
- the actual, present number of operands.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |