Added code folding and formatted all files

This commit is contained in:
SuspiciousActivity committed 2018-07-08 14:39:06 +02:00
1 parent 11570d6b95
commit 66cd1dbd3e
233 files changed
+82245 -118134

No files matched your search

@@ -1,16 +1,14 @@
/*
* 02/08/2014
*
* This library is distributed under a modified BSD license. See the included
* This library is distributed under a modified BSD license. See the included
* AutoComplete.License.txt file for details.
*/
package org.fife.ui.autocomplete;
import java.util.EventObject;
/**
* An event fired by an instance of {@link AutoCompletion}. This can be
* An event fired by an instance of {@link AutoCompletion}. This can be
* used by applications that wish to be notified of the auto-complete popup
* window showing and hiding.
*
@@ -18,37 +16,36 @@ import java.util.EventObject;
* @version 1.0
*/
public class AutoCompletionEvent extends EventObject {
/**
* The type of this event.
*/
private Type type;
/**
* Constructor.
*
* @param source The <code>AutoCompletion</code> instance that fired
* this event.
* @param type The event type.
* @param source
* The <code>AutoCompletion</code> instance that fired
* this event.
* @param type
* The event type.
*/
public AutoCompletionEvent(AutoCompletion source, Type type) {
super(source);
this.type = type;
}
/**
* Returns the source <code>AutoCompletion</code> instance. This is just
* Returns the source <code>AutoCompletion</code> instance. This is just
* shorthand for <code>return (AutoCompletion)getSource();</code>.
*
* @return The source <code>AutoCompletion</code> instance.
*/
public AutoCompletion getAutoCompletion() {
return (AutoCompletion)getSource();
return (AutoCompletion) getSource();
}
/**
* Returns the type of this event.
*
@@ -57,15 +54,11 @@ public class AutoCompletionEvent extends EventObject {
public Type getEventType() {
return type;
}
/**
* Enumeration of the various types of this event.
*/
public static enum Type {
POPUP_SHOWN,
POPUP_HIDDEN
POPUP_SHOWN, POPUP_HIDDEN
}
}
}