summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide')
-rw-r--r--odk/examples/DevelopersGuide/Config/ConfigExamples.java10
-rw-r--r--odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java2
-rw-r--r--odk/examples/DevelopersGuide/Forms/DocumentHelper.java4
-rw-r--r--odk/examples/DevelopersGuide/Forms/HsqlDatabase.java8
-rw-r--r--odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java2
-rw-r--r--odk/examples/DevelopersGuide/GUI/UnoDialogSample.java10
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java6
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java8
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java8
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java12
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java8
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java8
-rw-r--r--odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/MyActiveDataSink.java2
17 files changed, 49 insertions, 49 deletions
diff --git a/odk/examples/DevelopersGuide/Config/ConfigExamples.java b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
index 13a314254160..ba1e7034af24 100644
--- a/odk/examples/DevelopersGuide/Config/ConfigExamples.java
+++ b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
@@ -357,11 +357,11 @@ public class ConfigExamples
/// class to hold information about grid settings
public static class GridOptions
{
- public boolean visible;
- public int resolution_x;
- public int resolution_y;
- public int subdivision_x;
- public int subdivision_y;
+ private boolean visible;
+ private int resolution_x;
+ private int resolution_y;
+ private int subdivision_x;
+ private int subdivision_y;
@Override
public String toString() {
diff --git a/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java b/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
index 0c3d3a933261..fbb1933387aa 100644
--- a/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
+++ b/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
@@ -26,7 +26,7 @@ public abstract class DocumentBasedExample implements com.sun.star.lang.XEventLi
/// our current test document
protected DocumentHelper m_document;
protected FormLayer m_formLayer;
- protected DocumentType m_documentType;
+ private DocumentType m_documentType;
/** Creates a new instance of DocumentBasedExample */
public DocumentBasedExample( DocumentType documentType )
diff --git a/odk/examples/DevelopersGuide/Forms/DocumentHelper.java b/odk/examples/DevelopersGuide/Forms/DocumentHelper.java
index 631d41876a8e..6b9518631396 100644
--- a/odk/examples/DevelopersGuide/Forms/DocumentHelper.java
+++ b/odk/examples/DevelopersGuide/Forms/DocumentHelper.java
@@ -31,9 +31,9 @@ import com.sun.star.container.*;
public class DocumentHelper
{
/// the remote office context
- protected XComponentContext m_remoteContext;
+ private XComponentContext m_remoteContext;
/// the remote service manager
- protected XMultiServiceFactory m_orb;
+ private XMultiServiceFactory m_orb;
protected XComponent m_documentComponent;
/* ------------------------------------------------------------------ */
diff --git a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
index e349892d3ea9..5c15718706a7 100644
--- a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
+++ b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
@@ -37,14 +37,14 @@ import com.sun.star.util.CloseVetoException;
public class HsqlDatabase
{
- XComponentContext m_context;
+ private XComponentContext m_context;
// the URL of the temporary file used for the database document
- String m_databaseDocumentFile;
+ private String m_databaseDocumentFile;
// the database document
- XOfficeDatabaseDocument m_databaseDocument;
+ private XOfficeDatabaseDocument m_databaseDocument;
// the data source belonging to the database document
// the default connection
- XConnection m_connection;
+ private XConnection m_connection;
public HsqlDatabase( XComponentContext _context ) throws Exception
diff --git a/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java b/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java
index 69a7f77d4cab..4f084d629df6 100644
--- a/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java
+++ b/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java
@@ -39,7 +39,7 @@ import com.sun.star.uno.UnoRuntime;
public class RoadmapItemStateChangeListener implements XItemListener {
- protected com.sun.star.lang.XMultiServiceFactory m_xMSFDialogModel;
+ private com.sun.star.lang.XMultiServiceFactory m_xMSFDialogModel;
public RoadmapItemStateChangeListener(com.sun.star.lang.XMultiServiceFactory xMSFDialogModel) {
m_xMSFDialogModel = xMSFDialogModel;
diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
index 1b68cfa81c76..fc67ea18c166 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
@@ -107,15 +107,15 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
protected XComponentContext m_xContext = null;
protected com.sun.star.lang.XMultiComponentFactory m_xMCF;
protected XMultiServiceFactory m_xMSFDialogModel;
- protected XModel m_xModel;
+ private XModel m_xModel;
protected XNameContainer m_xDlgModelNameContainer;
protected XControlContainer m_xDlgContainer;
// protected XNameAccess m_xDlgModelNameAccess;
protected XControl m_xDialogControl;
protected XDialog xDialog;
- protected XReschedule mxReschedule;
+ private XReschedule mxReschedule;
protected XWindowPeer m_xWindowPeer = null;
- protected XTopWindow m_xTopWindow = null;
+ private XTopWindow m_xTopWindow = null;
protected XFrame m_xFrame = null;
protected XComponent m_xComponent = null;
@@ -1399,8 +1399,8 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
// Globally available object variables of the roadmapmodel
XPropertySet m_xRMPSet;
- XSingleServiceFactory m_xSSFRoadmap;
- XIndexContainer m_xRMIndexCont;
+ private XSingleServiceFactory m_xSSFRoadmap;
+ private XIndexContainer m_xRMIndexCont;
public void addRoadmap() {
XPropertySet xDialogModelPropertySet = null;
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
index ff88ebe3ce08..c06dcce3bde3 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
@@ -176,11 +176,11 @@ public class CustomizeView extends JPanel
com.sun.star.lang.XEventListener
{
/// URL, to toogle the requested UI item
- String m_sURL;
+ private String m_sURL;
/// name of the property which must be used in combination with the URL
- String m_sProp;
+ private String m_sProp;
/// we must use this frame to dispatch a request
- com.sun.star.frame.XFrame m_xFrame;
+ private com.sun.star.frame.XFrame m_xFrame;
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java
index 4405f05ebf09..2d07f9642d9c 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java
@@ -40,7 +40,7 @@
class JavaWindowPeerFake implements com.sun.star.awt.XSystemDependentWindowPeer,
com.sun.star.awt.XWindowPeer
{
- NativeView maView;
+ private NativeView maView;
public JavaWindowPeerFake(NativeView aNative)
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
index 66ac7893f835..da283d365b98 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
@@ -61,7 +61,7 @@ public class FilterOptions
public com.sun.star.io.XInputStream m_xInput ;
public com.sun.star.io.XOutputStream m_xOutput ;
public boolean m_bStreamOwner ;
- public String m_sURL ;
+ private String m_sURL ;
public String m_sOld ;
public String m_sNew ;
public boolean m_bCaseChange ;
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java
index 7025fdd7d648..9c9978da3ac2 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java
@@ -52,10 +52,10 @@ public class OneInstanceFactory implements
XSingleComponentFactory,
XServiceInfo
{
- Class aMyClass;
- String aSvcImplName;
- String[] aSupportedSvcNames;
- XInterface xInstantiatedService;
+ private Class aMyClass;
+ private String aSvcImplName;
+ private String[] aSupportedSvcNames;
+ private XInterface xInstantiatedService;
public OneInstanceFactory(
Class aMyClass,
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java
index b304bedc920a..2352ff8cceeb 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java
@@ -47,10 +47,10 @@ public class PropChgHelper implements
XPropertyChangeListener,
XLinguServiceEventBroadcaster
{
- XInterface xEvtSource;
- String[] aPropNames;
- XPropertySet xPropSet;
- ArrayList<XLinguServiceEventListener> aLngSvcEvtListeners;
+ private XInterface xEvtSource;
+ private String[] aPropNames;
+ private XPropertySet xPropSet;
+ private ArrayList<XLinguServiceEventListener> aLngSvcEvtListeners;
public PropChgHelper(
XInterface xEvtSource,
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java
index 039b67f89f09..01b9acd7f9c9 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java
@@ -37,12 +37,12 @@ import com.sun.star.lang.Locale;
public class XHyphenatedWord_impl implements
com.sun.star.linguistic2.XHyphenatedWord
{
- String aWord;
- String aHyphenatedWord;
- short nHyphenPos;
- short nHyphenationPos;
- Locale aLang;
- boolean bIsAltSpelling;
+ private String aWord;
+ private String aHyphenatedWord;
+ private short nHyphenPos;
+ private short nHyphenationPos;
+ private Locale aLang;
+ private boolean bIsAltSpelling;
public XHyphenatedWord_impl(
String aWord,
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java
index 133def0e4b0a..0df2eb430b09 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java
@@ -37,8 +37,8 @@
public class XMeaning_impl implements
com.sun.star.linguistic2.XMeaning
{
- String aMeaning;
- String[] aSynonyms;
+ private String aMeaning;
+ private String[] aSynonyms;
public XMeaning_impl ( String aMeaning, String[] aSynonyms )
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java
index 11eb33fff6f0..cf59d407bf13 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java
@@ -37,10 +37,10 @@ import com.sun.star.lang.Locale;
public class XPossibleHyphens_impl implements
com.sun.star.linguistic2.XPossibleHyphens
{
- String aWord;
- String aHyphWord;
- short[] aOrigHyphenPos;
- Locale aLang;
+ private String aWord;
+ private String aHyphWord;
+ private short[] aOrigHyphenPos;
+ private Locale aLang;
public XPossibleHyphens_impl(
String aWord,
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java
index 9b3d671a7b93..ae26a447ce55 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java
@@ -38,10 +38,10 @@ import com.sun.star.lang.Locale;
public class XSpellAlternatives_impl implements
com.sun.star.linguistic2.XSpellAlternatives
{
- String aWord;
- Locale aLanguage;
- String[] aAlt; // list of alternatives, may be empty.
- short nType; // type of failure
+ private String aWord;
+ private Locale aLanguage;
+ private String[] aAlt; // list of alternatives, may be empty.
+ private short nType; // type of failure
public XSpellAlternatives_impl(
String aWord,
diff --git a/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java b/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java
index b6f58d9a4c79..b0092d9d123f 100644
--- a/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java
+++ b/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java
@@ -203,7 +203,7 @@ class ScriptSelectorPanel extends JPanel {
private XBrowseNode myrootnode = null;
public JTextField textField;
public JTree tree;
- public DefaultTreeModel treeModel;
+ private DefaultTreeModel treeModel;
public ScriptSelectorPanel(XBrowseNode root)
{
diff --git a/odk/examples/DevelopersGuide/UCB/MyActiveDataSink.java b/odk/examples/DevelopersGuide/UCB/MyActiveDataSink.java
index 9ef646e47beb..0038b8f304eb 100644
--- a/odk/examples/DevelopersGuide/UCB/MyActiveDataSink.java
+++ b/odk/examples/DevelopersGuide/UCB/MyActiveDataSink.java
@@ -44,7 +44,7 @@ public class MyActiveDataSink implements XActiveDataSink {
/**
* Member properties
*/
- XInputStream m_aStream = null;
+ private XInputStream m_aStream = null;
/**
* Constructor