|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mk.fsgrep.util.PackageResource mk.fsgrep.util.IconResource
public class IconResource
Read a resource from the jar (classpath actually) and return it as an icon.
Field Summary |
---|
Fields inherited from class mk.fsgrep.util.PackageResource |
---|
INCLUDE_PATH, RE_MULTI_SLASH |
Constructor Summary | |
---|---|
protected |
IconResource(java.lang.String pUri)
|
Method Summary | |
---|---|
static javax.swing.ImageIcon |
get(java.lang.String pUri)
|
javax.swing.ImageIcon |
getIcon()
|
protected java.lang.Object |
readContent()
|
Methods inherited from class mk.fsgrep.util.PackageResource |
---|
getContent, getUri, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected IconResource(java.lang.String pUri)
Method Detail |
---|
public static javax.swing.ImageIcon get(java.lang.String pUri)
protected java.lang.Object readContent()
readContent
in class PackageResource
public javax.swing.ImageIcon getIcon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |