mirror of
https://github.com/SuspiciousActivity/ByteEdit.git
synced 2026-08-13 17:56:17 +00:00
Added code folding and formatted all files
This commit is contained in:
1 parent
11570d6b95
commit
66cd1dbd3e
233 files changed
+82245
-118134
No files matched your search
@@ -1,9 +1,7 @@
|
||||
/*
|
||||
* 04/29/2010
|
||||
*
|
||||
* EmptyIcon.java - The canonical icon that paints nothing.
|
||||
*
|
||||
* 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;
|
||||
@@ -11,11 +9,11 @@ package org.fife.ui.autocomplete;
|
||||
import java.awt.Component;
|
||||
import java.awt.Graphics;
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.swing.Icon;
|
||||
|
||||
|
||||
/**
|
||||
* A standard icon that doesn't paint anything. This can be used when some
|
||||
* A standard icon that doesn't paint anything. This can be used when some
|
||||
* <code>Completion</code>s have icons and others don't, to visually align the
|
||||
* text of all completions.
|
||||
*
|
||||
@@ -23,30 +21,23 @@ import javax.swing.Icon;
|
||||
* @version 1.0
|
||||
*/
|
||||
public class EmptyIcon implements Icon, Serializable {
|
||||
|
||||
|
||||
private int size;
|
||||
|
||||
|
||||
|
||||
public EmptyIcon(int size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public int getIconHeight() {
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public int getIconWidth() {
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void paintIcon(Component c, Graphics g, int x, int y) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
public void paintIcon(Component c, Graphics g, int x, int y) {}
|
||||
}
|
||||
Reference in new issue
Block a user