|
|||||||||||
| 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.VarDiffLayout
A layout manager that lays components for the variables of differentiation.
We assume the display laid out contains what should be a variable for the visualisation of a differentiation,
i.e. a variable (differentiation of first order) or a power of a variable (differentiation of higher order).
According to the type of differentiation, either the symbol "d" is added (differentiation) or the symbol delta (the
greek letter) is added (partial differentiation) to the display laid out, for correct rendering.
| Field Summary |
| Fields inherited from class fr.ove.openmath.jome.ctrlview.bidim.DisplayLayout |
displayToLay |
| Constructor Summary | |
VarDiffLayout(boolean isPartial)
The constructor. |
|
| Method Summary | |
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 |
computeAttributes, 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 VarDiffLayout(boolean isPartial)
isPartial - true if we have a partial differentiation. false otherwise.| 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 void rebuildDisplay()
rebuildDisplay in class DisplayLayout
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||