Search this API

y.option
Interface ConstraintManager.ConditionCheck

Enclosing class:
ConstraintManager

public static interface ConstraintManager.ConditionCheck

Implementations of this interface are queried by the ConstraintManager as soon as properties of an editor change.

See Also:
ConstraintManager.createCondition(OptionItem, y.option.ConstraintManager.ConditionCheck)
 

Method Summary
 boolean isTrue(Editor editor, ItemEditor itemEditor)
          Yields true if the condition is true for the given ItemEditor that is part of the given Editor.
 

Method Detail

isTrue

boolean isTrue(Editor editor,
               ItemEditor itemEditor)
Yields true if the condition is true for the given ItemEditor that is part of the given Editor.

Parameters:
editor - the Editor instance which contains the itemEditor
itemEditor - the ItemEditor instance to check for the condition
Returns:
whether the condition is met

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.