|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvlcskineditor.Resource
public abstract class Resource
Abstract superclass representing a Bitmap, SubBitmap or Font
| Field Summary | |
|---|---|
java.lang.String |
id
Value should be either Bitmap or Font |
Skin |
s
Represents the skin to which the resource belongs |
java.lang.String |
type
|
| Constructor Summary | |
|---|---|
Resource()
|
|
| Method Summary | |
|---|---|
Resource |
getParentOf(java.lang.String id_)
If a Resource does contain another Resource of the given id (e.g. a SubBitmap) the containing Resource is returned |
abstract javax.swing.tree.DefaultMutableTreeNode |
getTreeNode()
Creates a DefaultMutableTreeNode to be displayed in the resources tree |
void |
renameForCopy(java.lang.String p)
Renames the Resource after the copy process |
abstract java.lang.String |
returnCode(java.lang.String indent)
Creates the XML code representing the resource |
abstract void |
showOptions()
Show a dialog to modify the resource's parameters |
abstract void |
update()
Update the Resource's attributes according to user input |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String id
public java.lang.String type
public Skin s
| Constructor Detail |
|---|
public Resource()
| Method Detail |
|---|
public abstract void showOptions()
public abstract void update()
public abstract java.lang.String returnCode(java.lang.String indent)
public abstract javax.swing.tree.DefaultMutableTreeNode getTreeNode()
public Resource getParentOf(java.lang.String id_)
public void renameForCopy(java.lang.String p)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||