java: reduce scope, make member classes private
found by UCDetector Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
This commit is contained in:
@@ -154,7 +154,7 @@ public class LocalOfficeWindow
|
||||
|
||||
/// callback handler to get to know when we become visible
|
||||
//@deprecated
|
||||
class ComponentEventHandler
|
||||
private class ComponentEventHandler
|
||||
extends java.awt.event.ComponentAdapter
|
||||
{
|
||||
@Override
|
||||
@@ -258,7 +258,7 @@ public class LocalOfficeWindow
|
||||
/** Helper class to watch calls into OOo with a timeout.
|
||||
* @deprecated
|
||||
*/
|
||||
class CallWatchThread extends Thread
|
||||
private class CallWatchThread extends Thread
|
||||
{
|
||||
private Thread aWatchedThread;
|
||||
private long nTimeout;
|
||||
|
@@ -727,7 +727,7 @@ public class LocalOfficeConnection
|
||||
|
||||
|
||||
|
||||
class StreamProcessor extends Thread
|
||||
private class StreamProcessor extends Thread
|
||||
{
|
||||
private java.io.InputStream m_in;
|
||||
private java.io.PrintStream m_print;
|
||||
|
@@ -70,7 +70,7 @@ public class StorageFileAccess implements org.hsqldb.lib.FileAccess{
|
||||
}
|
||||
}
|
||||
|
||||
public class FileSync implements FileAccess.FileSync
|
||||
private class FileSync implements FileAccess.FileSync
|
||||
{
|
||||
private NativeOutputStreamHelper os;
|
||||
private FileSync(NativeOutputStreamHelper _os)
|
||||
|
@@ -89,7 +89,7 @@ public class CopyTableWizard extends CRMBasedTestCase
|
||||
}
|
||||
|
||||
|
||||
class CopyThread implements Runnable
|
||||
private class CopyThread implements Runnable
|
||||
{
|
||||
|
||||
private final XCopyTableWizard copyWizard;
|
||||
|
@@ -70,7 +70,7 @@ public class RowSet extends TestCase
|
||||
XParametersSupplier m_paramsSupplier;
|
||||
|
||||
|
||||
class ResultSetMovementStress implements Runnable
|
||||
private class ResultSetMovementStress implements Runnable
|
||||
{
|
||||
|
||||
private XResultSet m_resultSet;
|
||||
|
@@ -160,7 +160,7 @@ public class CheckOGroupBoxModel
|
||||
* Listener implementation which sets a flag when
|
||||
* listener was called.
|
||||
*/
|
||||
public class MyChangeListener implements XPropertiesChangeListener
|
||||
private class MyChangeListener implements XPropertiesChangeListener
|
||||
{
|
||||
|
||||
private boolean propertiesChanged = false;
|
||||
|
@@ -62,7 +62,7 @@ import static org.junit.Assert.*;
|
||||
public class AutoSave
|
||||
{
|
||||
|
||||
class AutoSaveListener implements XStatusListener
|
||||
private class AutoSaveListener implements XStatusListener
|
||||
{
|
||||
private XDispatch m_xAutoSave;
|
||||
private URL m_aRegistration;
|
||||
@@ -356,7 +356,7 @@ public class AutoSave
|
||||
m_aLog.log(Protocol.TYPE_SCOPE_CLOSE, "closeDoc() finished.");
|
||||
}
|
||||
|
||||
class DocThread extends Thread
|
||||
private class DocThread extends Thread
|
||||
{
|
||||
DocThread()
|
||||
{}
|
||||
|
@@ -156,7 +156,7 @@ public class Protocol extends JComponent
|
||||
* Such line can be specified as a special one (ERROR, WARNING ...).
|
||||
* That makes it possible to analyze the whole protocol using tools.
|
||||
*/
|
||||
class ProtocolLine
|
||||
private class ProtocolLine
|
||||
{
|
||||
/// the line number of this protocol line (size of the vector of all protocol lines cn be used to count such lines!)
|
||||
private long m_nLine;
|
||||
|
@@ -141,7 +141,7 @@ public class CheckImageManager {
|
||||
}
|
||||
|
||||
|
||||
class OXUIConfigurationListenerImpl implements _XUIConfiguration.XUIConfigurationListenerImpl {
|
||||
private class OXUIConfigurationListenerImpl implements _XUIConfiguration.XUIConfigurationListenerImpl {
|
||||
private boolean triggered = false;
|
||||
|
||||
public boolean actionWasTriggered() {
|
||||
|
@@ -48,7 +48,7 @@ public class _XComponent {
|
||||
* Listener which added but not removed, and its method must be called
|
||||
* on <code>dispose</code> call.
|
||||
*/
|
||||
public class MyEventListener implements XEventListener {
|
||||
private class MyEventListener implements XEventListener {
|
||||
private int number = 0;
|
||||
private String message = null;
|
||||
private MyEventListener(int number, String message) {
|
||||
|
@@ -60,7 +60,7 @@ public abstract class BaseEvolutionarySolver extends BaseNLPSolver {
|
||||
registerProperty(m_enhancedSolverStatus);
|
||||
}
|
||||
|
||||
protected class Variable {
|
||||
private class Variable {
|
||||
private CellMap CellMap;
|
||||
private int OriginalVariable;
|
||||
private double MinValue;
|
||||
@@ -76,7 +76,7 @@ public abstract class BaseEvolutionarySolver extends BaseNLPSolver {
|
||||
}
|
||||
}
|
||||
|
||||
protected class CalcProblemEncoder extends ProblemEncoder {
|
||||
private class CalcProblemEncoder extends ProblemEncoder {
|
||||
|
||||
private ArrayList<Variable> m_variables;
|
||||
private ArrayList<ExtSolverConstraint> m_constraints;
|
||||
|
@@ -164,7 +164,7 @@ public abstract class BaseNLPSolver extends WeakBase
|
||||
return m_variables;
|
||||
}
|
||||
|
||||
protected class RowInfo {
|
||||
private class RowInfo {
|
||||
private short Sheet;
|
||||
private int Row;
|
||||
private int StartCol;
|
||||
|
@@ -65,7 +65,7 @@ import com.sun.star.test.XTestDialogHandler;
|
||||
// ComponentBase, see implementation of TestComponentA.
|
||||
public class DialogComponent {
|
||||
|
||||
public static class _DialogComponent
|
||||
private static class _DialogComponent
|
||||
implements XTypeProvider, XServiceInfo, XTestDialogHandler, XDialogEventHandler {
|
||||
|
||||
private static final String __serviceName= "com.sun.star.test.TestDialogHandler";
|
||||
|
@@ -355,7 +355,7 @@ public class ConfigExamples
|
||||
|
||||
// READ example
|
||||
/// class to hold information about grid settings
|
||||
public static class GridOptions
|
||||
private static class GridOptions
|
||||
{
|
||||
private boolean visible;
|
||||
private int resolution_x;
|
||||
|
@@ -172,7 +172,7 @@ public class CustomizeView extends JPanel
|
||||
* But such update doesn't force (hopefully) an action event. Otherwhise
|
||||
* we can produce a never ending recursion!
|
||||
*/
|
||||
class ClickListener implements ActionListener,
|
||||
private class ClickListener implements ActionListener,
|
||||
com.sun.star.lang.XEventListener
|
||||
{
|
||||
/// URL, to toogle the requested UI item
|
||||
|
@@ -67,7 +67,7 @@ import com.sun.star.document.XFilter;
|
||||
|
||||
public class AsciiReplaceFilter
|
||||
{
|
||||
public static class _AsciiReplaceFilter extends WeakBase
|
||||
private static class _AsciiReplaceFilter extends WeakBase
|
||||
implements XInitialization ,
|
||||
XServiceInfo ,
|
||||
XNamed ,
|
||||
|
@@ -333,7 +333,7 @@ public class LinguisticExamples
|
||||
/** simple sample implementation of a clients XLinguServiceEventListener
|
||||
* interface implementation
|
||||
*/
|
||||
public class Client
|
||||
private class Client
|
||||
implements XLinguServiceEventListener
|
||||
{
|
||||
public void disposing ( EventObject aEventObj )
|
||||
|
@@ -108,7 +108,7 @@ class ExampleAddInThread extends Thread
|
||||
|
||||
public class ExampleAddIn
|
||||
{
|
||||
static public class _ExampleAddIn extends com.sun.star.lib.uno.helper.WeakBase
|
||||
static private class _ExampleAddIn extends com.sun.star.lib.uno.helper.WeakBase
|
||||
implements org.openoffice.sheet.addin.XExampleAddIn,
|
||||
com.sun.star.sheet.XAddIn,
|
||||
com.sun.star.lang.XServiceName,
|
||||
|
@@ -752,7 +752,7 @@ public class ExampleDataPilotSource
|
||||
{
|
||||
// implementation of com.sun.star.sheet.DataPilotSource
|
||||
|
||||
static public class _ExampleDataPilotSource implements
|
||||
static private class _ExampleDataPilotSource implements
|
||||
com.sun.star.sheet.XDimensionsSupplier,
|
||||
com.sun.star.sheet.XDataPilotResults,
|
||||
com.sun.star.util.XRefreshable,
|
||||
|
@@ -53,7 +53,7 @@ public class InspectorAddon {
|
||||
/** This class implements the component. At least the interfaces XServiceInfo,
|
||||
* XTypeProvider, and XInitialization should be provided by the service.
|
||||
*/
|
||||
public static class InspectorAddonImpl extends WeakBase implements XDispatchProvider, XInitialization, XServiceInfo {
|
||||
private static class InspectorAddonImpl extends WeakBase implements XDispatchProvider, XInitialization, XServiceInfo {
|
||||
private org.openoffice.XInstanceInspector xInstInspector = null;
|
||||
// Dispatcher oDispatcher = null;
|
||||
private XFrame m_xFrame = null;
|
||||
@@ -96,7 +96,7 @@ public class InspectorAddon {
|
||||
}
|
||||
}
|
||||
|
||||
public class Dispatcher implements XDispatch{
|
||||
private class Dispatcher implements XDispatch{
|
||||
private XFrame m_xFrame = null;
|
||||
private XModel xModel = null;
|
||||
|
||||
|
@@ -57,7 +57,7 @@ public class ProtocolHandlerAddon {
|
||||
/** This class implements the component. At least the interfaces XServiceInfo,
|
||||
* XTypeProvider, and XInitialization should be provided by the service.
|
||||
*/
|
||||
public static class ProtocolHandlerAddonImpl extends WeakBase implements
|
||||
private static class ProtocolHandlerAddonImpl extends WeakBase implements
|
||||
XDispatchProvider,
|
||||
XDispatch,
|
||||
XInitialization,
|
||||
|
@@ -543,7 +543,7 @@ public class SourceCodeGenerator {
|
||||
}
|
||||
|
||||
|
||||
class UnoObjectDefinition{
|
||||
private class UnoObjectDefinition{
|
||||
private Object m_oUnoObject = null;
|
||||
Type aType = null;
|
||||
private String sVariableStemName = "";
|
||||
@@ -838,7 +838,7 @@ class UnoObjectDefinition{
|
||||
}
|
||||
|
||||
|
||||
public class JavaCodeGenerator implements XLanguageSourceCodeGenerator{
|
||||
private class JavaCodeGenerator implements XLanguageSourceCodeGenerator{
|
||||
String sStatementsCode = "";
|
||||
private boolean bAddAnyConverter = false;
|
||||
private boolean bIsPropertyUnoObjectDefined = false;
|
||||
@@ -1185,7 +1185,7 @@ class UnoObjectDefinition{
|
||||
}
|
||||
|
||||
|
||||
public class BasicCodeGenerator implements XLanguageSourceCodeGenerator{
|
||||
private class BasicCodeGenerator implements XLanguageSourceCodeGenerator{
|
||||
String sStatementsCode = "";
|
||||
|
||||
public BasicCodeGenerator(){
|
||||
@@ -1389,7 +1389,7 @@ class UnoObjectDefinition{
|
||||
|
||||
}
|
||||
|
||||
public class CPlusPlusCodeGenerator implements XLanguageSourceCodeGenerator{
|
||||
private class CPlusPlusCodeGenerator implements XLanguageSourceCodeGenerator{
|
||||
String sStatementsCode = "";
|
||||
private boolean bIncludeStringHeader = false;
|
||||
private boolean bIncludeAny = false;
|
||||
|
@@ -49,7 +49,7 @@ public class MinimalComponent {
|
||||
/** This class implements the component. At least the interfaces XServiceInfo,
|
||||
* XTypeProvider, and XInitialization should be provided by the service.
|
||||
*/
|
||||
public static class _MinimalComponent extends WeakBase
|
||||
private static class _MinimalComponent extends WeakBase
|
||||
implements XInitialization, XServiceInfo {
|
||||
/** The service name, that must be used to get an instance of this service.
|
||||
*/
|
||||
|
@@ -60,7 +60,7 @@ public class CalcAddins {
|
||||
* of the service description. It implements the needed interfaces.
|
||||
* @implements XCalcAddins, XAddIn, XServiceName, XServiceInfo, XTypeProvider
|
||||
*/
|
||||
static public class _CalcAddins extends WeakBase implements
|
||||
static private class _CalcAddins extends WeakBase implements
|
||||
XCalcAddins,
|
||||
XAddIn,
|
||||
XServiceName,
|
||||
|
@@ -75,7 +75,7 @@ public class ToDo {
|
||||
* XInterface, XTypeProvider, and XWeak implemented by the helper class
|
||||
* WeakBase and XServiceInfo should be provided by the service.
|
||||
*/
|
||||
public static class ToDoImpl extends WeakBase implements XServiceInfo, XToDo {
|
||||
private static class ToDoImpl extends WeakBase implements XServiceInfo, XToDo {
|
||||
|
||||
/** The service name, that must be used to get an instance of this service.
|
||||
*/
|
||||
|
@@ -822,7 +822,7 @@ public class ProcessHandler
|
||||
bUseOutput = false;
|
||||
}
|
||||
|
||||
class ProcessWatcher extends Thread
|
||||
private class ProcessWatcher extends Thread
|
||||
{
|
||||
|
||||
private int m_nTimeoutInSec;
|
||||
|
@@ -170,7 +170,7 @@ public class XMLTools {
|
||||
* This class writes all XML data handled into a stream specified
|
||||
* in the constructor.
|
||||
*/
|
||||
public static class XMLWriter implements XDocumentHandler {
|
||||
private static class XMLWriter implements XDocumentHandler {
|
||||
private PrintWriter _log = null ;
|
||||
private String align = "" ;
|
||||
|
||||
@@ -251,7 +251,7 @@ public class XMLTools {
|
||||
* After document is completed there is a way to cehck
|
||||
* if the XML data and structure was valid.
|
||||
*/
|
||||
public static class XMLWellFormChecker extends XMLWriter {
|
||||
private static class XMLWellFormChecker extends XMLWriter {
|
||||
private boolean docStarted = false ;
|
||||
private boolean docEnded = false ;
|
||||
ArrayList<String> tagStack = new ArrayList<String>() ;
|
||||
|
@@ -132,7 +132,7 @@ public class SDBCReportDataFactory implements DataSourceFactory
|
||||
}
|
||||
}
|
||||
|
||||
class ParameterDefinition
|
||||
private class ParameterDefinition
|
||||
{
|
||||
private int parameterCount = 0;
|
||||
private ArrayList<Integer> parameterIndex = new ArrayList<Integer>();
|
||||
|
@@ -76,7 +76,7 @@ public class SOReportJobFactory
|
||||
{
|
||||
}
|
||||
|
||||
public static class _SOReportJobFactory extends WeakBase implements XInitialization, XServiceInfo, XJob, XPropertySet, ReportJobFactory
|
||||
private static class _SOReportJobFactory extends WeakBase implements XInitialization, XServiceInfo, XJob, XPropertySet, ReportJobFactory
|
||||
{
|
||||
|
||||
private static final Log LOGGER = LogFactory.getLog(_SOReportJobFactory.class);
|
||||
|
@@ -42,7 +42,7 @@ import org.jfree.report.structure.Element;
|
||||
public class OfficeStyles extends Element
|
||||
{
|
||||
|
||||
public static class StyleKey implements Serializable
|
||||
private static class StyleKey implements Serializable
|
||||
{
|
||||
|
||||
private static final long serialVersionUID = 4931878927362887477L;
|
||||
|
@@ -72,7 +72,7 @@ public class _XPropertySet {
|
||||
/**
|
||||
* Listener that must be called on bound property changing.
|
||||
*/
|
||||
public class MyChangeListener implements XPropertyChangeListener {
|
||||
private class MyChangeListener implements XPropertyChangeListener {
|
||||
/**
|
||||
* Just set <code>propertyChanged</code> flag to true.
|
||||
*/
|
||||
@@ -96,7 +96,7 @@ public class _XPropertySet {
|
||||
/**
|
||||
* Listener that must be called on constrained property changing.
|
||||
*/
|
||||
public class MyVetoListener implements XVetoableChangeListener {
|
||||
private class MyVetoListener implements XVetoableChangeListener {
|
||||
/**
|
||||
* Just set <code>vetoableChanged</code> flag to true.
|
||||
*/
|
||||
|
@@ -487,7 +487,7 @@ XInitialization {
|
||||
xComponent.removeEventListener( aListener );
|
||||
}
|
||||
|
||||
public class ActionListenerImpl implements com.sun.star.awt.XActionListener {
|
||||
private class ActionListenerImpl implements com.sun.star.awt.XActionListener {
|
||||
private String _buttonName;
|
||||
private ActionListenerImpl( String buttonName ) {
|
||||
_buttonName = buttonName;
|
||||
@@ -506,7 +506,7 @@ XInitialization {
|
||||
}
|
||||
}
|
||||
|
||||
public class ItemListenerImpl implements com.sun.star.awt.XItemListener {
|
||||
private class ItemListenerImpl implements com.sun.star.awt.XItemListener {
|
||||
private XCheckBox _xCheckBox;
|
||||
private ItemListenerImpl( XControlContainer xControlCont ) {
|
||||
Object objectCheckBox = xControlCont.getControl( _checkBoxName );
|
||||
|
@@ -49,7 +49,7 @@ import com.sun.star.script.framework.container.ScriptMetaData;
|
||||
|
||||
public class ScriptProviderForBeanShell
|
||||
{
|
||||
public static class ScriptProviderForBeanShell_2 extends ScriptProvider
|
||||
private static class ScriptProviderForBeanShell_2 extends ScriptProvider
|
||||
{
|
||||
public ScriptProviderForBeanShell_2(XComponentContext ctx)
|
||||
{
|
||||
|
@@ -43,7 +43,7 @@ import com.sun.star.script.framework.log.LogUtils;
|
||||
|
||||
public class ScriptProviderForJava
|
||||
{
|
||||
public static class _ScriptProviderForJava extends ScriptProvider
|
||||
private static class _ScriptProviderForJava extends ScriptProvider
|
||||
{
|
||||
private Resolver m_resolutionPolicy = new StrictResolver();
|
||||
|
||||
|
@@ -323,7 +323,7 @@ public class ScriptEditorForJavaScript implements ScriptEditor
|
||||
return scope;
|
||||
}
|
||||
|
||||
class closeHandler implements Runnable
|
||||
private class closeHandler implements Runnable
|
||||
{
|
||||
private URL url;
|
||||
private closeHandler( URL url )
|
||||
|
@@ -50,7 +50,7 @@ import org.mozilla.javascript.JavaScriptException;
|
||||
|
||||
public class ScriptProviderForJavaScript
|
||||
{
|
||||
public static class ScriptProviderForJavaScript_2 extends ScriptProvider
|
||||
private static class ScriptProviderForJavaScript_2 extends ScriptProvider
|
||||
{
|
||||
public ScriptProviderForJavaScript_2(XComponentContext ctx)
|
||||
{
|
||||
|
@@ -969,7 +969,7 @@ public class DocumentMetadataAccess
|
||||
return ret;
|
||||
}
|
||||
|
||||
static class BindingComp implements java.util.Comparator<XNode[]>
|
||||
private static class BindingComp implements java.util.Comparator<XNode[]>
|
||||
{
|
||||
public int compare(XNode[] left, XNode[] right)
|
||||
{
|
||||
@@ -989,7 +989,7 @@ public class DocumentMetadataAccess
|
||||
}
|
||||
}
|
||||
|
||||
static class StmtComp implements java.util.Comparator<Statement>
|
||||
private static class StmtComp implements java.util.Comparator<Statement>
|
||||
{
|
||||
public int compare(Statement left, Statement right)
|
||||
{
|
||||
|
@@ -63,7 +63,7 @@ public class DocumentProperties
|
||||
}
|
||||
|
||||
// for testing modifications
|
||||
class Listener implements XModifyListener {
|
||||
private class Listener implements XModifyListener {
|
||||
private boolean m_Called;
|
||||
|
||||
Listener() {
|
||||
|
@@ -230,7 +230,7 @@ public class GlobalEventBroadcaster {
|
||||
return !failure;
|
||||
}
|
||||
|
||||
public class EventListenerImpl implements XEventListener {
|
||||
private class EventListenerImpl implements XEventListener {
|
||||
public void disposing(com.sun.star.lang.EventObject eventObject) {
|
||||
System.out.println("disposing: " + eventObject.Source.toString());
|
||||
}
|
||||
|
@@ -58,7 +58,7 @@ public class _XAccessibleEventBroadcaster {
|
||||
/**
|
||||
* An event producer
|
||||
*/
|
||||
public static class EventProducer {
|
||||
private static class EventProducer {
|
||||
private XWindow xWindow;
|
||||
private EventProducer(XWindow window) {
|
||||
xWindow = window;
|
||||
|
@@ -47,7 +47,7 @@ public class _XComponent {
|
||||
* Listener which added but not removed, and its method must be called
|
||||
* on <code>dispose</code> call.
|
||||
*/
|
||||
public class MyEventListener implements XEventListener {
|
||||
private class MyEventListener implements XEventListener {
|
||||
public void disposing ( EventObject oEvent ) {
|
||||
Loutput[0] = Thread.currentThread() + " is DISPOSING EV1" + this;
|
||||
listenerDisposed[0] = true;
|
||||
@@ -58,7 +58,7 @@ public class _XComponent {
|
||||
* Listener which added and then removed, and its method must <b>not</b>
|
||||
* be called on <code>dispose</code> call.
|
||||
*/
|
||||
public class MyEventListener2 implements XEventListener {
|
||||
private class MyEventListener2 implements XEventListener {
|
||||
public void disposing ( EventObject oEvent ) {
|
||||
Loutput[0] = Thread.currentThread() + " is DISPOSING EV2" + this;
|
||||
listenerDisposed[1] = true;
|
||||
|
@@ -92,7 +92,7 @@ public class FormHandler
|
||||
XShapeGrouper xShapeGrouper;
|
||||
private XNameContainer xNamedFormContainer;
|
||||
|
||||
public class ControlData
|
||||
class ControlData
|
||||
{
|
||||
|
||||
int DataType;
|
||||
|
@@ -51,7 +51,7 @@ public class CallFormWizard
|
||||
/** This class implements the component. At least the interfaces XServiceInfo,
|
||||
* XTypeProvider, and XInitialization should be provided by the service.
|
||||
*/
|
||||
public static class FormWizardImplementation extends com.sun.star.lib.uno.helper.PropertySet implements com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.task.XJobExecutor
|
||||
private static class FormWizardImplementation extends com.sun.star.lib.uno.helper.PropertySet implements com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.task.XJobExecutor
|
||||
{
|
||||
private PropertyValue[] m_wizardContext;
|
||||
|
||||
|
@@ -282,7 +282,7 @@ public class FieldLinker extends DBLimitedFieldSelection
|
||||
CurUnoDialog.setStepEnabled(IStep.intValue(), _bdoenable);
|
||||
}
|
||||
|
||||
class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
private class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
{
|
||||
|
||||
public void itemStateChanged(ItemEvent EventObject)
|
||||
|
@@ -385,7 +385,7 @@ public class FormWizard extends DatabaseObjectWizard
|
||||
return true;
|
||||
}
|
||||
|
||||
public class FieldSelectionListener implements com.sun.star.wizards.ui.XFieldSelectionListener
|
||||
private class FieldSelectionListener implements com.sun.star.wizards.ui.XFieldSelectionListener
|
||||
{
|
||||
|
||||
private int ID;
|
||||
|
@@ -53,7 +53,7 @@ public class CallQueryWizard
|
||||
/** This class implements the component. At least the interfaces XServiceInfo,
|
||||
* XTypeProvider, and XInitialization should be provided by the service.
|
||||
*/
|
||||
public static class QueryWizardImplementation extends com.sun.star.lib.uno.helper.PropertySet implements com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.task.XJobExecutor
|
||||
private static class QueryWizardImplementation extends com.sun.star.lib.uno.helper.PropertySet implements com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.task.XJobExecutor
|
||||
{
|
||||
private PropertyValue[] m_wizardContext;
|
||||
private String Command;
|
||||
|
@@ -393,7 +393,7 @@ public class QueryWizard extends DatabaseObjectWizard
|
||||
enableRoadmapItems(bEnabled); // Note: Performancewise this could be improved
|
||||
}
|
||||
|
||||
public class FieldSelectionListener implements com.sun.star.wizards.ui.XFieldSelectionListener
|
||||
private class FieldSelectionListener implements com.sun.star.wizards.ui.XFieldSelectionListener
|
||||
{
|
||||
|
||||
private int ID;
|
||||
|
@@ -63,7 +63,7 @@ public class CallReportWizard
|
||||
/** This class implements the component. At least the interfaces XServiceInfo,
|
||||
* XTypeProvider, and XInitialization should be provided by the service.
|
||||
*/
|
||||
public static class ReportWizardImplementation extends com.sun.star.lib.uno.helper.PropertySet implements com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.task.XJobExecutor
|
||||
private static class ReportWizardImplementation extends com.sun.star.lib.uno.helper.PropertySet implements com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.task.XJobExecutor
|
||||
{
|
||||
|
||||
private PropertyValue[] m_wizardContext;
|
||||
|
@@ -137,7 +137,7 @@ public class GroupFieldHandler extends FieldSelection
|
||||
|
||||
}
|
||||
|
||||
/* protected */ class FieldSelectionListener implements com.sun.star.wizards.ui.XFieldSelectionListener
|
||||
/* protected */ private class FieldSelectionListener implements com.sun.star.wizards.ui.XFieldSelectionListener
|
||||
{
|
||||
|
||||
public void moveItemDown(String Selitem)
|
||||
|
@@ -217,7 +217,7 @@ public class ReportLayouter
|
||||
CurUnoDialog.setFocus("lblContent");
|
||||
}
|
||||
|
||||
class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
private class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
{
|
||||
|
||||
public void itemStateChanged(com.sun.star.awt.ItemEvent EventObject)
|
||||
@@ -302,7 +302,7 @@ public class ReportLayouter
|
||||
}
|
||||
}
|
||||
|
||||
class ActionListenerImpl implements com.sun.star.awt.XActionListener
|
||||
private class ActionListenerImpl implements com.sun.star.awt.XActionListener
|
||||
{
|
||||
|
||||
public void disposing(EventObject eventObject)
|
||||
|
@@ -645,7 +645,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener
|
||||
super.setStepEnabled(SOSORTPAGE, bdoenable);
|
||||
}
|
||||
|
||||
public class FieldSelectionListener implements com.sun.star.wizards.ui.XFieldSelectionListener
|
||||
private class FieldSelectionListener implements com.sun.star.wizards.ui.XFieldSelectionListener
|
||||
{
|
||||
|
||||
private int m_nID;
|
||||
|
@@ -52,7 +52,7 @@ public class CallTableWizard
|
||||
/** This class implements the component. At least the interfaces XServiceInfo,
|
||||
* XTypeProvider, and XInitialization should be provided by the service.
|
||||
*/
|
||||
public static class TableWizardImplementation extends com.sun.star.lib.uno.helper.PropertySet implements com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.task.XJobExecutor
|
||||
private static class TableWizardImplementation extends com.sun.star.lib.uno.helper.PropertySet implements com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.task.XJobExecutor
|
||||
{
|
||||
|
||||
private PropertyValue[] m_wizardContext;
|
||||
|
@@ -159,7 +159,7 @@ public class AggregateComponent extends ControlScroller
|
||||
}
|
||||
}
|
||||
|
||||
class ActionListenerImpl implements com.sun.star.awt.XActionListener
|
||||
private class ActionListenerImpl implements com.sun.star.awt.XActionListener
|
||||
{
|
||||
|
||||
public void disposing(EventObject eventObject)
|
||||
@@ -507,7 +507,7 @@ public class AggregateComponent extends ControlScroller
|
||||
}
|
||||
}
|
||||
|
||||
protected class ControlRow
|
||||
private class ControlRow
|
||||
{
|
||||
|
||||
private XListBox xFieldListBox;
|
||||
@@ -570,7 +570,7 @@ public class AggregateComponent extends ControlScroller
|
||||
UnoDialog.deselectListBox(xFunctionListBox);
|
||||
}
|
||||
|
||||
protected class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
private class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
{
|
||||
|
||||
public void itemStateChanged(com.sun.star.awt.ItemEvent EventObject)
|
||||
|
@@ -619,7 +619,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
|
||||
}
|
||||
}
|
||||
|
||||
public static class Counter
|
||||
private static class Counter
|
||||
{
|
||||
|
||||
private int start, end, max;
|
||||
|
@@ -44,7 +44,7 @@ public class CommandFieldSelection extends FieldSelection implements Comparator<
|
||||
private WizardDialog oWizardDialog;
|
||||
private Collator aCollator = null;
|
||||
|
||||
class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
private class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
{
|
||||
|
||||
public void itemStateChanged(com.sun.star.awt.ItemEvent EventObject)
|
||||
|
@@ -56,7 +56,7 @@ public abstract class ControlScroller
|
||||
protected ArrayList<Object> ControlGroupVector = new ArrayList<Object>();
|
||||
protected PeerConfig oTitlePeerConfig;
|
||||
|
||||
class AdjustmentListenerImpl implements com.sun.star.awt.XAdjustmentListener
|
||||
private class AdjustmentListenerImpl implements com.sun.star.awt.XAdjustmentListener
|
||||
{
|
||||
|
||||
public void disposing(com.sun.star.lang.EventObject eventObject)
|
||||
|
@@ -59,7 +59,7 @@ public class FieldSelection
|
||||
private final static int SOSELFLDSLST = 8;
|
||||
|
||||
|
||||
class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
private class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
{
|
||||
|
||||
public void itemStateChanged(com.sun.star.awt.ItemEvent EventObject)
|
||||
@@ -87,7 +87,7 @@ public class FieldSelection
|
||||
}
|
||||
}
|
||||
|
||||
class ActionListenerImpl implements com.sun.star.awt.XActionListener
|
||||
private class ActionListenerImpl implements com.sun.star.awt.XActionListener
|
||||
{
|
||||
|
||||
public void disposing(com.sun.star.lang.EventObject eventObject)
|
||||
|
@@ -112,7 +112,7 @@ public class FilterComponent
|
||||
private int SOI_MATCHANY = 1;
|
||||
private int curHelpID;
|
||||
|
||||
class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
private class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
{
|
||||
|
||||
public void itemStateChanged(com.sun.star.awt.ItemEvent EventObject)
|
||||
@@ -167,7 +167,7 @@ public class FilterComponent
|
||||
}
|
||||
}
|
||||
|
||||
class TextListenerImpl implements com.sun.star.awt.XTextListener
|
||||
private class TextListenerImpl implements com.sun.star.awt.XTextListener
|
||||
{
|
||||
|
||||
public void textChanged(TextEvent EventObject)
|
||||
@@ -508,7 +508,7 @@ public class FilterComponent
|
||||
|
||||
|
||||
|
||||
final class ControlRow
|
||||
private final class ControlRow
|
||||
{
|
||||
|
||||
private final static int SOLSTFIELDNAME = 3;
|
||||
|
@@ -99,7 +99,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener
|
||||
this.imageSize = imageSize;
|
||||
}
|
||||
|
||||
class OMouseListener implements XMouseListener
|
||||
private class OMouseListener implements XMouseListener
|
||||
{
|
||||
public OMouseListener()
|
||||
{}
|
||||
@@ -808,7 +808,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener
|
||||
}
|
||||
}
|
||||
|
||||
public static class Counter
|
||||
private static class Counter
|
||||
{
|
||||
|
||||
private int start, end, max;
|
||||
|
@@ -38,14 +38,14 @@ public class PathSelection
|
||||
public XPathSelectionListener xAction;
|
||||
public XTextComponent xSaveTextBox;
|
||||
|
||||
public static class DialogTypes
|
||||
private static class DialogTypes
|
||||
{
|
||||
|
||||
private static final int FOLDER = 0;
|
||||
private static final int FILE = 1;
|
||||
}
|
||||
|
||||
public static class TransferMode
|
||||
private static class TransferMode
|
||||
{
|
||||
|
||||
private static final int SAVE = 0;
|
||||
|
@@ -43,7 +43,7 @@ public class PeerConfig implements XWindowListener
|
||||
oUnoDialog.xWindow.addWindowListener(this);
|
||||
}
|
||||
|
||||
class PeerTask
|
||||
private class PeerTask
|
||||
{
|
||||
|
||||
private XControl xControl;
|
||||
@@ -58,7 +58,7 @@ public class PeerConfig implements XWindowListener
|
||||
}
|
||||
}
|
||||
|
||||
class ControlTask
|
||||
private class ControlTask
|
||||
{
|
||||
|
||||
private Object oModel;
|
||||
@@ -73,7 +73,7 @@ public class PeerConfig implements XWindowListener
|
||||
}
|
||||
}
|
||||
|
||||
class ImageUrlTask
|
||||
private class ImageUrlTask
|
||||
{
|
||||
|
||||
private Object oModel;
|
||||
|
@@ -47,7 +47,7 @@ public class SortingComponent
|
||||
};
|
||||
private XListBox[] xSortListBox = new XListBox[4];
|
||||
|
||||
class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
private class ItemListenerImpl implements com.sun.star.awt.XItemListener
|
||||
{
|
||||
|
||||
public void itemStateChanged(ItemEvent EventObject)
|
||||
|
@@ -86,7 +86,7 @@ public class TitlesComponent extends ControlScroller
|
||||
}
|
||||
}
|
||||
|
||||
class ControlRow
|
||||
private class ControlRow
|
||||
{
|
||||
|
||||
PropertyValue[] regproperties;
|
||||
|
@@ -82,7 +82,7 @@ public class XMergeBridge {
|
||||
/** This inner class provides the component as a concrete implementation
|
||||
* of the service description. It implements the needed interfaces.
|
||||
*/
|
||||
static public class _XMergeBridge implements
|
||||
static private class _XMergeBridge implements
|
||||
XImportFilter,
|
||||
XExportFilter,
|
||||
XServiceName,
|
||||
|
Reference in New Issue
Block a user