|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.ove.openmath.jome.ctrlview.bidim.DisplayLayout
fr.ove.openmath.jome.ctrlview.bidim.HorizontalLayout
fr.ove.openmath.jome.ctrlview.bidim.Mfd2SubstitutionLayout
A layout manager that lays components horizontally and inserts between
them, the display of the operator that the layout manager lays.
For example, if this layout manager lays an equality, it will insert
between the components (i.e. operands) the display of the symbol "=",
and so on, for all the relational operators.
| Field Summary |
| Fields inherited from class fr.ove.openmath.jome.ctrlview.bidim.DisplayLayout |
displayToLay |
| Constructor Summary | |
Mfd2SubstitutionLayout()
|
|
| Method Summary | |
java.awt.Dimension |
computeAttributes()
Computes the size of the display according to its children size (if any), and its different attributes. |
void |
initDisplay(Display displayToLay)
According to the operator, the layout manager has to add some components (e.g. brackets, ...) |
void |
rebuildDisplay()
The display needs to be rebuilt. |
void |
validateDeselection(Display display)
Checks the validity of the deselection. |
void |
validateSelection()
Checks the validity of the selection. |
| Methods inherited from class fr.ove.openmath.jome.ctrlview.bidim.HorizontalLayout |
layoutContainer |
| Methods inherited from class fr.ove.openmath.jome.ctrlview.bidim.DisplayLayout |
addLayoutComponent, addLayoutComponent, deselectDisplay, getLayoutAlignmentX, getLayoutAlignmentY, invalidateLayout, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, selectDisplay, selectLeftDisplay, selectRightDisplay, updateLevel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Mfd2SubstitutionLayout()
| Method Detail |
public void initDisplay(Display displayToLay)
initDisplay in class DisplayLayoutdisplayToLay - the display laid by the instancepublic void validateSelection()
validateSelection in class DisplayLayoutpublic void validateDeselection(Display display)
validateDeselection in class DisplayLayoutdisplay - the display to deselect.public java.awt.Dimension computeAttributes()
computeAttributes in class HorizontalLayoutpublic void rebuildDisplay()
rebuildDisplay in class DisplayLayout
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||