|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.rc.ResourceItem
org.openbp.common.rc.image.TMulti
public class TMulti
Abstract image resource item implementation for the ImageIcon object.
| Field Summary | |
|---|---|
protected static java.lang.String[] |
EXTENSIONS
|
protected static java.lang.String |
TAG_IMAGE_PATH
XML tag 'path' |
| Fields inherited from class org.openbp.common.rc.ResourceItem |
|---|
ATTRIBUTE_PROPERTY_NAME, ATTRIBUTE_PROPERTY_TYPE, GROUP_DELIMITER, name, resourceCollection, resourceObject |
| Constructor Summary | |
|---|---|
TMulti()
|
|
| Method Summary | |
|---|---|
protected boolean |
checkFileExtension(java.lang.String extension)
Checks the validation of the file extension. |
java.lang.String |
getMimeType()
Gets the mime-type of the resource item. |
java.lang.String |
getPath()
Gets the image path. |
void |
initializeFromDOM(ResourceCollection res,
org.w3c.dom.Element sourceElement,
java.lang.String group)
Determines the information from the DOM element and set this to the resource item. |
protected java.lang.Object |
loadResourceObject()
Loads the object associated with the resource. |
| Methods inherited from class org.openbp.common.rc.ResourceItem |
|---|
getErrorName, getName, getObject, getResourceCollection, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String TAG_IMAGE_PATH
protected static final java.lang.String[] EXTENSIONS
| Constructor Detail |
|---|
public TMulti()
| Method Detail |
|---|
public void initializeFromDOM(ResourceCollection res,
org.w3c.dom.Element sourceElement,
java.lang.String group)
initializeFromDOM in class ResourceItemres - Resource the item belongs tosourceElement - Resource item nodegroup - Name of the resource item group or nullpublic java.lang.String getMimeType()
protected java.lang.Object loadResourceObject()
loadResourceObject in class ResourceItempublic java.lang.String getPath()
protected boolean checkFileExtension(java.lang.String extension)
extension - File extension f.e. 'gif'
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||