summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/ui/event
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/ui/event')
-rw-r--r--wizards/com/sun/star/wizards/ui/event/AbstractListener.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/CommonListener.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/DataAware.java24
-rw-r--r--wizards/com/sun/star/wizards/ui/event/DataAwareFields.java14
-rw-r--r--wizards/com/sun/star/wizards/ui/event/EventNames.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/ListModelBinder.java10
-rw-r--r--wizards/com/sun/star/wizards/ui/event/MethodInvocation.java6
-rw-r--r--wizards/com/sun/star/wizards/ui/event/RadioDataAware.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java4
-rw-r--r--wizards/com/sun/star/wizards/ui/event/Task.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/TaskEvent.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/TaskListener.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/UnoDataAware.java8
13 files changed, 40 insertions, 40 deletions
diff --git a/wizards/com/sun/star/wizards/ui/event/AbstractListener.java b/wizards/com/sun/star/wizards/ui/event/AbstractListener.java
index ebbcba96f58c..4265f39b50c2 100644
--- a/wizards/com/sun/star/wizards/ui/event/AbstractListener.java
+++ b/wizards/com/sun/star/wizards/ui/event/AbstractListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/CommonListener.java b/wizards/com/sun/star/wizards/ui/event/CommonListener.java
index 18f33af2cef8..0899d3117af6 100644
--- a/wizards/com/sun/star/wizards/ui/event/CommonListener.java
+++ b/wizards/com/sun/star/wizards/ui/event/CommonListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.java b/wizards/com/sun/star/wizards/ui/event/DataAware.java
index b81b8e71bcdb..dc095206eafa 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/DataAware.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,7 +44,7 @@ import java.util.Iterator;
* in child classes, the updateData() will be binded to UI event calls.
* <br><br>
* This class holds references to a Data Object and a Value object.
- * The Value object "knows" how to get and set a value from the
+ * The Value object "knows" how to get and set a value from the
* Data Object.
*/
public abstract class DataAware {
@@ -60,7 +60,7 @@ public abstract class DataAware {
* from/to the data object.
*/
protected Value value;
-
+
/**
* creates a DataAware object for the given data object and Value object.
* @param dataObject_
@@ -89,7 +89,7 @@ public abstract class DataAware {
*/
public void setDataObject(Object obj, boolean updateUI) {
- if (obj != null && !value.isAssignable(obj.getClass()))
+ if (obj != null && !value.isAssignable(obj.getClass()))
throw new ClassCastException("can not cast new DataObject to original Class");
dataObject = obj;
@@ -112,14 +112,14 @@ public abstract class DataAware {
/**
* gets the current value from the data obejct.
- * this method delegates the job to
+ * this method delegates the job to
* the value object.
* @return the current value of the data object.
*/
protected Object getFromData() {
return value.get(getDataObject());
}
-
+
/**
* sets the given value to the UI control
* @param newValue the value to set to the ui control.
@@ -221,10 +221,10 @@ public abstract class DataAware {
for (Iterator i = dataAwares.iterator(); i.hasNext();)
((DataAware) i.next()).setDataObject(dataObject, updateUI);
}
-
+
/**
* Value objects read and write a value from and
- * to an object. Typically using reflection and JavaBeans properties
+ * to an object. Typically using reflection and JavaBeans properties
* or directly using memeber reflection API.
* DataAware delegates the handling of the DataObject
* to a Value object.
@@ -254,7 +254,7 @@ public abstract class DataAware {
*/
public boolean isAssignable(Class type);
}
-
+
/**
* implementation of Value, handling JavaBeans properties through
* reflection.
@@ -282,7 +282,7 @@ public abstract class DataAware {
getMethod = createGetMethod(propertyName, propertyOwner);
setMethod = createSetMethod(propertyName, propertyOwner, getMethod.getReturnType());
}
-
+
/**
* called from the constructor, and creates a get method reflection object
* for the given property and object.
@@ -306,7 +306,7 @@ public abstract class DataAware {
}
return m;
}
-
+
/* (non-Javadoc)
* @see com.sun.star.wizards.ui.event.DataAware.Value#get(java.lang.Object)
*/
@@ -328,7 +328,7 @@ public abstract class DataAware {
return new short[0];
}
return null;
-
+
}
protected Method createSetMethod(String propName, Object obj, Class paramClass) {
diff --git a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java
index 74881d7b1f23..1e058374d760 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java
+++ b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,12 +31,12 @@ import java.lang.reflect.Field;
import com.sun.star.uno.Any;
/**
- * This class is a factory for Value objects for different types of
- * memebers.
- * Other than some Value implementations classes this class contains static
+ * This class is a factory for Value objects for different types of
+ * memebers.
+ * Other than some Value implementations classes this class contains static
* type conversion methods and factory methods.
- *
- * @see com.sun.star.wizards.ui.event.DataAware.Value
+ *
+ * @see com.sun.star.wizards.ui.event.DataAware.Value
*/
public class DataAwareFields
{
@@ -47,7 +47,7 @@ public class DataAwareFields
/**
* returns a Value Object which sets and gets values
* and converting them to other types, according to the "value" argument.
- *
+ *
* @param owner
* @param fieldname
* @param value
diff --git a/wizards/com/sun/star/wizards/ui/event/EventNames.java b/wizards/com/sun/star/wizards/ui/event/EventNames.java
index 50aa32dc57aa..ee1a0ace9cdd 100644
--- a/wizards/com/sun/star/wizards/ui/event/EventNames.java
+++ b/wizards/com/sun/star/wizards/ui/event/EventNames.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java b/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java
index b2dc75f22f48..db209161fffa 100644
--- a/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java
+++ b/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -138,7 +138,7 @@ public class ListModelBinder implements ListDataListener
insert(i);
/*int insertedItems = lde.getIndex1() - lde.getIndex0() + 1;
-
+
for (int i = 0; i<selected.length; i++)
if (selected[i].intValue() >= lde.getIndex0())
selected[i] = new Short((short)(selected[i].shortValue() + insertedItems));
@@ -161,12 +161,12 @@ public class ListModelBinder implements ListDataListener
if (s>=lde.getIndex0() && s<==lde.getIndex1()) {
selected[i] = null;
removed++;
+ }
}
- }
-
+
Short[] newSelected = (removed > 0 ? new Short[selected.length - removed] : selected;
if (removed>0)
-
+
if (selected[i].intValue() >= lde.getIndex0())
*/
}
diff --git a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
index c45a496c7849..617c55882e3f 100644
--- a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
+++ b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,7 +31,7 @@ import java.lang.reflect.Method;
/**
* Encapsulate a Method invocation.
- * In the constructor one defines a method, a target object and an optional
+ * In the constructor one defines a method, a target object and an optional
* Parameter.
* Then one calls "invoke", with or without a parameter. <br/>
* Limitations: I do not check anything myself. If the param is not ok, from the
@@ -80,7 +80,7 @@ public class MethodInvocation
}
/**
- * Returns the result of calling the method on the object, or null, if no result.
+ * Returns the result of calling the method on the object, or null, if no result.
*/
public Object invoke(Object param) throws IllegalAccessException, InvocationTargetException
{
diff --git a/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java b/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java
index 7dddea572503..3954b2eea671 100644
--- a/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java b/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java
index 8a9c2200d76d..5c102903272f 100644
--- a/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,7 +72,7 @@ public class SimpleDataAware extends DataAware
else if (value.equals("")) return Boolean.FALSE;
else return Boolean.TRUE;
}
-
+
public void disableControls(Object[] controls) {
disableObjects = controls;
}
diff --git a/wizards/com/sun/star/wizards/ui/event/Task.java b/wizards/com/sun/star/wizards/ui/event/Task.java
index 16feacd5e1fa..1d67ecb956c6 100644
--- a/wizards/com/sun/star/wizards/ui/event/Task.java
+++ b/wizards/com/sun/star/wizards/ui/event/Task.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/TaskEvent.java b/wizards/com/sun/star/wizards/ui/event/TaskEvent.java
index 1c54cfea2fa6..af840c3b4bb4 100644
--- a/wizards/com/sun/star/wizards/ui/event/TaskEvent.java
+++ b/wizards/com/sun/star/wizards/ui/event/TaskEvent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/TaskListener.java b/wizards/com/sun/star/wizards/ui/event/TaskListener.java
index 114747c30776..cfbc16c9c845 100644
--- a/wizards/com/sun/star/wizards/ui/event/TaskListener.java
+++ b/wizards/com/sun/star/wizards/ui/event/TaskListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java
index 632609d85f05..010773216183 100644
--- a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,10 +36,10 @@ import com.sun.star.wizards.common.Helper;
*
* This class suppoprts imple cases where a UI control can
* be directly synchronized with a data property.
- * Such controls are: the different text controls
- * (synchronizing the "Text" , "Value", "Date", "Time" property),
+ * Such controls are: the different text controls
+ * (synchronizing the "Text" , "Value", "Date", "Time" property),
* Checkbox controls, Dropdown listbox controls (synchronizing the
- * SelectedItems[] property.
+ * SelectedItems[] property.
* For those controls, static convenience methods are offered, to simplify use.
*/
public class UnoDataAware extends DataAware