diff options
author | Kurt Zenker <kz@openoffice.org> | 2003-12-11 11:44:28 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2003-12-11 11:44:28 +0000 |
commit | 666e94f0c368ec5b69c6a85468cec85f8d06eb96 (patch) | |
tree | 797a18804e6924e9c38e4ac6ef5d8db4ded7817e /qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java | |
parent | 8d941bf6b0f9007e6c2526d621199390dc0e7b3e (diff) |
INTEGRATION: CWS frmcontrols01 (1.2.8); FILE MERGED
2003/11/13 12:17:53 sw 1.2.8.1: #i21797#
Diffstat (limited to 'qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java index 007a75d6d..c06ddd750 100644 --- a/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java +++ b/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java @@ -2,9 +2,9 @@ * * $RCSfile: _UnoControlScrollBarModel.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change:$Date: 2003-09-08 10:09:32 $ + * last change:$Date: 2003-12-11 12:44:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -90,10 +90,34 @@ public class _UnoControlScrollBarModel extends MultiPropertyTest { * This property can be VOID, and in case if it is so new * value must defined. */ + public void _BackgroundColor() { + testProperty("BackgroundColor", new PropertyTester() { + protected Object getNewValue(String p, Object old) { + return utils.isVoid(old) ? new Integer(32768) : null ; + } + }) ; + } + + /** + * This property can be VOID, and in case if it is so new + * value must defined. + */ + public void _SymbolColor() { + testProperty("SymbolColor", new PropertyTester() { + protected Object getNewValue(String p, Object old) { + return utils.isVoid(old) ? new Integer(65324) : null ; + } + }) ; + } + + /** + * This property can be VOID, and in case if it is so new + * value must defined. + */ public void _ScrollValue() { testProperty("ScrollValue", new PropertyTester() { - protected Object getNewValue(String p, Object old) { - return utils.isVoid(old) ? new Integer(10) : null ; + protected Object getNewValue(String p, Object old) { + return utils.isVoid(old) ? new Integer(10) : new Integer(15) ; } }) ; } |