Logo Search packages:      
Sourcecode: wims version File versions

Dimension fr::ove::openmath::jome::ctrlview::bidim::InfixOperatorLayout::computeAttributes (  )  [inline, virtual, inherited]

Computes the size of the display according to its children size (if any), and its different attributes.

Returns:
the size of the display.

Reimplemented from fr::ove::openmath::jome::ctrlview::bidim::HorizontalLayout.

Definition at line 116 of file InfixOperatorLayout.java.

References fr::ove::openmath::jome::ctrlview::bidim::DisplayLayout::displayToLay, fr::ove::openmath::jome::ctrlview::bidim::InfixOperatorLayout::insertOperatorDisplay(), and fr::ove::openmath::jome::ctrlview::bidim::InfixOperatorLayout::prevNbComponent.

                                         {
        // On regarde si le nombre de component dans le display a changé depuis
        // la dernière fois. Si oui, il faut contrôler s'il ne faut pas ajouter
        // des display d'opérateur.
        if (insertOperatorDisplay || (prevNbComponent != displayToLay.getComponentCount()))
            insertOperatorDisplay();
            
        return super.computeAttributes();
    }


Generated by  Doxygen 1.6.0   Back to index