|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.collections.ReadWriteLockDecorator
com.globalmentor.urf.AbstractURFScope
com.globalmentor.urf.DefaultURFResource
com.globalmentor.urf.URFListResource<Rule>
com.guiseframework.theme.Theme
public class Theme
Guise theme specification.
| Field Summary | |
|---|---|
static java.net.URI |
APPLY_PROPERTY_URI
The apply property name. |
static Color |
COLOR_SELECTED_BACKGROUND
|
static com.globalmentor.net.ContentType |
CONTENT_TYPE
The content type for theme resources: application/theme+turf. |
static java.net.URI |
CURSOR_CROSSHAIR
|
static java.net.URI |
CURSOR_DEFAULT
|
static java.net.URI |
CURSOR_HELP
|
static java.net.URI |
CURSOR_MOVE
|
static java.net.URI |
CURSOR_POINTER
|
static java.net.URI |
CURSOR_PROGRESS
|
static java.net.URI |
CURSOR_RESIZE_LINE_FAR
|
static java.net.URI |
CURSOR_RESIZE_LINE_FAR_PAGE_FAR
|
static java.net.URI |
CURSOR_RESIZE_LINE_FAR_PAGE_NEAR
|
static java.net.URI |
CURSOR_RESIZE_LINE_NEAR
|
static java.net.URI |
CURSOR_RESIZE_LINE_NEAR_PAGE_FAR
|
static java.net.URI |
CURSOR_RESIZE_LINE_NEAR_PAGE_NEAR
|
static java.net.URI |
CURSOR_RESIZE_PAGE_FAR
|
static java.net.URI |
CURSOR_RESIZE_PAGE_NEAR
|
static java.net.URI |
CURSOR_TEXT
|
static java.net.URI |
CURSOR_WAIT
|
static java.net.URI |
GLYPH_ABOUT
|
static java.net.URI |
GLYPH_ACCEPT
|
static java.net.URI |
GLYPH_ACCEPT_MULTIPLE
|
static java.net.URI |
GLYPH_ACCESS
|
static java.net.URI |
GLYPH_ADD
|
static java.net.URI |
GLYPH_ANIMATION
|
static java.net.URI |
GLYPH_ARROW_DOWN
|
static java.net.URI |
GLYPH_ARROW_LEFT
|
static java.net.URI |
GLYPH_ARROW_RIGHT
|
static java.net.URI |
GLYPH_ARROW_UP
|
static java.net.URI |
GLYPH_AUDIO
|
static java.net.URI |
GLYPH_BLANK
|
static java.net.URI |
GLYPH_BROWSE
|
static java.net.URI |
GLYPH_BUSY
|
static java.net.URI |
GLYPH_CALENDAR
|
static java.net.URI |
GLYPH_CANCEL
|
static java.net.URI |
GLYPH_CLOSE
|
static java.net.URI |
GLYPH_CONFIRM
|
static java.net.URI |
GLYPH_DELETE
|
static java.net.URI |
GLYPH_DOCUMENT
|
static java.net.URI |
GLYPH_DOCUMENT_CONTENT
|
static java.net.URI |
GLYPH_DOCUMENT_NEW
|
static java.net.URI |
GLYPH_DOCUMENT_PREVIEW
|
static java.net.URI |
GLYPH_DOCUMENT_RICH_CONTENT
|
static java.net.URI |
GLYPH_DOCUMENT_STACk
|
static java.net.URI |
GLYPH_DOWNLOAD
|
static java.net.URI |
GLYPH_EDIT
|
static java.net.URI |
GLYPH_EMAIL
|
static java.net.URI |
GLYPH_ENTER
|
static java.net.URI |
GLYPH_ERROR
|
static java.net.URI |
GLYPH_EXCLAMATION
|
static java.net.URI |
GLYPH_EXIT
|
static java.net.URI |
GLYPH_EYEGLASSES
|
static java.net.URI |
GLYPH_FINISH
|
static java.net.URI |
GLYPH_FIRST
|
static java.net.URI |
GLYPH_FOLDER
|
static java.net.URI |
GLYPH_FOLDER_CLOSED
|
static java.net.URI |
GLYPH_FOLDER_OPEN
|
static java.net.URI |
GLYPH_FOLDER_RICH_CONTENT
|
static java.net.URI |
GLYPH_FOLDER_TREE
|
static java.net.URI |
GLYPH_HELP
|
static java.net.URI |
GLYPH_HIDE
|
static java.net.URI |
GLYPH_HIERARCHY
|
static java.net.URI |
GLYPH_HOME
|
static java.net.URI |
GLYPH_IMAGE
|
static java.net.URI |
GLYPH_INFO
|
static java.net.URI |
GLYPH_INSERT
|
static java.net.URI |
GLYPH_JOIN
|
static java.net.URI |
GLYPH_KEY
|
static java.net.URI |
GLYPH_LAST
|
static java.net.URI |
GLYPH_LIST
|
static java.net.URI |
GLYPH_LOCK_CLOSED
|
static java.net.URI |
GLYPH_LOCK_OPEN
|
static java.net.URI |
GLYPH_LOGIN
|
static java.net.URI |
GLYPH_LOGOUT
|
static java.net.URI |
GLYPH_MEDIA_ADVANCE
|
static java.net.URI |
GLYPH_MEDIA_NEXT
|
static java.net.URI |
GLYPH_MEDIA_PAUSE
|
static java.net.URI |
GLYPH_MEDIA_PLAY
|
static java.net.URI |
GLYPH_MEDIA_PREVIOUS
|
static java.net.URI |
GLYPH_MEDIA_RECEDE
|
static java.net.URI |
GLYPH_MEDIA_RECORD
|
static java.net.URI |
GLYPH_MEDIA_STOP
|
static java.net.URI |
GLYPH_MUSIC
|
static java.net.URI |
GLYPH_NEXT
|
static java.net.URI |
GLYPH_ORDER
|
static java.net.URI |
GLYPH_PASSWORD
|
static java.net.URI |
GLYPH_PICTURE
|
static java.net.URI |
GLYPH_POLYGON_CURVED
|
static java.net.URI |
GLYPH_POLYGON_POINTS
|
static java.net.URI |
GLYPH_PREVIEW
|
static java.net.URI |
GLYPH_PREVIOUS
|
static java.net.URI |
GLYPH_PRODUCT_JAVA
|
static java.net.URI |
GLYPH_PROPERTIES
|
static java.net.URI |
GLYPH_QUESTION
|
static java.net.URI |
GLYPH_REFRESH
|
static java.net.URI |
GLYPH_REJECT
|
static java.net.URI |
GLYPH_REJECT_MULTIPLE
|
static java.net.URI |
GLYPH_REMOVE
|
static java.net.URI |
GLYPH_RENAME
|
static java.net.URI |
GLYPH_RESOURCE
|
static java.net.URI |
GLYPH_RETRY
|
static java.net.URI |
GLYPH_SELECTED
|
static java.net.URI |
GLYPH_SORT
|
static java.net.URI |
GLYPH_SPEECH_BUBBLE
|
static java.net.URI |
GLYPH_SPEECH_BUBBLE_TEXT
|
static java.net.URI |
GLYPH_SPEECH_BUBBLE_TEXT_ADD
|
static java.net.URI |
GLYPH_START
|
static java.net.URI |
GLYPH_STOP
|
static java.net.URI |
GLYPH_STRING_EDIT
|
static java.net.URI |
GLYPH_SUBMIT
|
static java.net.URI |
GLYPH_SUBTRACT
|
static java.net.URI |
GLYPH_THUMBNAILS
|
static java.net.URI |
GLYPH_TREE
|
static java.net.URI |
GLYPH_UNSELECTED
|
static java.net.URI |
GLYPH_UPLOAD
|
static java.net.URI |
GLYPH_USER
|
static java.net.URI |
GLYPH_VERIFY
|
static java.net.URI |
GLYPH_VIEW
|
static java.net.URI |
GLYPH_WARN
|
static java.lang.String |
LABEL_ABOUT
|
static java.lang.String |
LABEL_ABOUT_X
|
static java.lang.String |
LABEL_ACCEPT
|
static java.lang.String |
LABEL_ACCESS
|
static java.lang.String |
LABEL_ACCESS_X
|
static java.lang.String |
LABEL_ADD
|
static java.lang.String |
LABEL_ADD_X
|
static java.lang.String |
LABEL_AUDIO
|
static java.lang.String |
LABEL_BROWSE
|
static java.lang.String |
LABEL_CALENDAR
|
static java.lang.String |
LABEL_CANCEL
|
static java.lang.String |
LABEL_CLOSE
|
static java.lang.String |
LABEL_CONFIRM
|
static java.lang.String |
LABEL_DATE
|
static java.lang.String |
LABEL_DEFAULT
|
static java.lang.String |
LABEL_DELETE
|
static java.lang.String |
LABEL_DELETE_X
|
static java.lang.String |
LABEL_DOWNLOAD
|
static java.lang.String |
LABEL_EDIT
|
static java.lang.String |
LABEL_EMAIL
|
static java.lang.String |
LABEL_FINISH
|
static java.lang.String |
LABEL_FIRST
|
static java.lang.String |
LABEL_FOLDER
|
static java.lang.String |
LABEL_GENERAL
|
static java.lang.String |
LABEL_HELP
|
static java.lang.String |
LABEL_HOME
|
static java.lang.String |
LABEL_IMAGE
|
static java.lang.String |
LABEL_INSERT
|
static java.lang.String |
LABEL_JOIN
|
static java.lang.String |
LABEL_JOIN_X
|
static java.lang.String |
LABEL_LAST
|
static java.lang.String |
LABEL_LOGIN
|
static java.lang.String |
LABEL_LOGOUT
|
static java.lang.String |
LABEL_LOWER
|
static java.lang.String |
LABEL_NEW
|
static java.lang.String |
LABEL_NEW_X
|
static java.lang.String |
LABEL_NEXT
|
static java.lang.String |
LABEL_ORDER
|
static java.lang.String |
LABEL_PASSWORD
|
static java.lang.String |
LABEL_PASSWORD_VERIFICATION
|
static java.lang.String |
LABEL_PREVIOUS
|
static java.lang.String |
LABEL_PRODUCT_JAVA
|
static java.lang.String |
LABEL_PROPERTIES
|
static java.lang.String |
LABEL_RAISE
|
static java.lang.String |
LABEL_READ
|
static java.lang.String |
LABEL_REFRESH
|
static java.lang.String |
LABEL_REJECT
|
static java.lang.String |
LABEL_REMOVE
|
static java.lang.String |
LABEL_RENAME
|
static java.lang.String |
LABEL_RENAME_X
|
static java.lang.String |
LABEL_RESOURCE
|
static java.lang.String |
LABEL_RETRY
|
static java.lang.String |
LABEL_SORT
|
static java.lang.String |
LABEL_START
|
static java.lang.String |
LABEL_STOP
|
static java.lang.String |
LABEL_SUBMIT
|
static java.lang.String |
LABEL_SUBTRACT
|
static java.lang.String |
LABEL_TIME
|
static java.lang.String |
LABEL_TOTAL
|
static java.lang.String |
LABEL_TYPE
|
static java.lang.String |
LABEL_UNKNOWN
|
static java.lang.String |
LABEL_UPLOAD
|
static java.lang.String |
LABEL_UPLOAD_TO_X
|
static java.lang.String |
LABEL_URI
|
static java.lang.String |
LABEL_USERNAME
|
static java.lang.String |
LABEL_VERIFTY
|
static java.lang.String |
LABEL_VERSION
|
static java.lang.String |
LABEL_VIEW
|
static java.lang.String |
LABEL_X_PROPERTIES
|
static java.lang.String |
MESSAGE_BUSY
|
static java.lang.String |
MESSAGE_PASSWORD_INVALID
|
static java.lang.String |
MESSAGE_PASSWORD_UNVERIFIED
|
static java.lang.String |
MESSAGE_TASK_SUCCESS
|
static java.lang.String |
MESSAGE_USER_EXISTS
|
static java.lang.String |
MESSAGE_USER_INVALID
|
static java.lang.String |
NAME_EXTENSION
The extension for Guise theme resource names. |
static java.net.URI |
PARENT_URI_PROPERTY_URI
The property for the URI of the theme's parent. |
static java.net.URI |
RESOURCES_PROPERTY_URI
The resources property name. |
static java.net.URI |
SLIDER_THUMB_X_IMAGE
|
static java.net.URI |
SLIDER_THUMB_Y_IMAGE
|
static java.net.URI |
SLIDER_TRACK_X_IMAGE
|
static java.net.URI |
SLIDER_TRACK_Y_IMAGE
|
static java.net.URI |
TEMPLATE_CLASS_URI
The URI of the template class. |
static java.lang.String |
THEME_NAMESPACE_PREFIX
The recommended prefix to the theme ontology namespace. |
static java.net.URI |
THEME_NAMESPACE_URI
The URI to the theme ontology namespace. |
| Fields inherited from interface com.globalmentor.net.Resource |
|---|
URI_PROPERTY_NAME |
| Constructor Summary | |
|---|---|
Theme()
Default constructor. |
|
Theme(java.util.Collection<? extends Rule> collection)
Collection constructor with no URI. |
|
Theme(Theme parent)
Parent theme constructor. |
|
Theme(java.net.URI referenceURI)
Reference URI constructor. |
|
Theme(java.net.URI uri,
java.util.Collection<? extends Rule> collection)
URI and collection constructor. |
|
| Method Summary | |
|---|---|
void |
apply(java.lang.Object object)
Applies this theme to the given object. |
java.util.Set<Rule> |
getClassRules(java.lang.Object object)
Retrieves the set of rules that selects the class of the given object, including parent classes. |
Theme |
getParent()
|
java.net.URI |
getParentURI()
Retrieves the URI indicating the parent theme. |
java.lang.Iterable<com.globalmentor.urf.URFResource> |
getResourceResources(java.util.Locale locale)
Retrieves the resources URF resources. |
java.lang.Iterable<com.globalmentor.urf.URFResource> |
getStyles()
Retrieves an iterable to the XML styles. |
void |
setParent(Theme newParent)
Sets the theme parent. |
void |
updateRules()
Updates the internal maps of rules. |
protected void |
updateRules(Rule rule,
com.globalmentor.urf.select.Selector selector)
Updates the internal maps of rules based upon a selector and its subselectors. |
| Methods inherited from class com.globalmentor.urf.URFListResource |
|---|
add, add, addAll, addAll, checkIndexBounds, clear, contains, containsAll, equals, get, getLength, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, toListResource |
| Methods inherited from class com.globalmentor.urf.DefaultURFResource |
|---|
addType, addTypeURI, alter, determineLabel, getLabel, getName, getType, getTypes, getTypeURI, getURI, hasTypeURI, setLabel, setName, setURI, toString |
| Methods inherited from class com.globalmentor.urf.AbstractURFScope |
|---|
addAllProperties, addProperty, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, getCreationOrder, getNamespaceProperties, getOrder, getParentScope, getProperties, getProperties, getPropertyCount, getPropertyURIs, getPropertyValue, getPropertyValueContext, getPropertyValueContext, getPropertyValueContexts, getPropertyValueCount, getPropertyValueCount, getPropertyValues, getPropertyValues, getPropertyValueURI, getScope, hasNamespaceProperty, hasProperties, hasProperty, hasProperty, hasPropertyValue, hasPropertyValueURI, removeNamespacePropertyValues, removeProperties, removeProperty, removePropertyValue, removePropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setProperty, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues |
| Methods inherited from class com.globalmentor.collections.ReadWriteLockDecorator |
|---|
readLock, writeLock |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.globalmentor.urf.URFResource |
|---|
addType, addTypeURI, alter, determineLabel, getLabel, getName, getType, getTypes, getTypeURI, hasTypeURI, setLabel, setName |
| Methods inherited from interface com.globalmentor.net.Resource |
|---|
getURI |
| Methods inherited from interface com.globalmentor.urf.URFScope |
|---|
addAllProperties, addProperty, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, getCreationOrder, getNamespaceProperties, getOrder, getParentScope, getProperties, getProperties, getPropertyCount, getPropertyURIs, getPropertyValue, getPropertyValueContext, getPropertyValueContext, getPropertyValueContexts, getPropertyValueCount, getPropertyValueCount, getPropertyValues, getPropertyValues, getPropertyValueURI, getScope, hasNamespaceProperty, hasProperties, hasProperty, hasProperty, hasPropertyValue, hasPropertyValueURI, removeNamespacePropertyValues, removeProperties, removeProperty, removePropertyValue, removePropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setOrderedPropertyValues, setProperty, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues |
| Methods inherited from interface java.util.concurrent.locks.ReadWriteLock |
|---|
readLock, writeLock |
| Field Detail |
|---|
public static final java.lang.String NAME_EXTENSION
public static final com.globalmentor.net.ContentType CONTENT_TYPE
application/theme+turf.
public static final java.lang.String THEME_NAMESPACE_PREFIX
public static final java.net.URI THEME_NAMESPACE_URI
public static final java.net.URI TEMPLATE_CLASS_URI
public static final java.net.URI APPLY_PROPERTY_URI
public static final java.net.URI PARENT_URI_PROPERTY_URI
public static final java.net.URI RESOURCES_PROPERTY_URI
public static final Color COLOR_SELECTED_BACKGROUND
public static final java.lang.String LABEL_ABOUT
public static final java.lang.String LABEL_ABOUT_X
public static final java.lang.String LABEL_ACCEPT
public static final java.lang.String LABEL_ACCESS
public static final java.lang.String LABEL_ACCESS_X
public static final java.lang.String LABEL_ADD
public static final java.lang.String LABEL_ADD_X
public static final java.lang.String LABEL_AUDIO
public static final java.lang.String LABEL_BROWSE
public static final java.lang.String LABEL_CALENDAR
public static final java.lang.String LABEL_CANCEL
public static final java.lang.String LABEL_CLOSE
public static final java.lang.String LABEL_CONFIRM
public static final java.lang.String LABEL_DATE
public static final java.lang.String LABEL_DEFAULT
public static final java.lang.String LABEL_DELETE
public static final java.lang.String LABEL_DELETE_X
public static final java.lang.String LABEL_DOWNLOAD
public static final java.lang.String LABEL_EDIT
public static final java.lang.String LABEL_EMAIL
public static final java.lang.String LABEL_FINISH
public static final java.lang.String LABEL_FIRST
public static final java.lang.String LABEL_FOLDER
public static final java.lang.String LABEL_GENERAL
public static final java.lang.String LABEL_HELP
public static final java.lang.String LABEL_HOME
public static final java.lang.String LABEL_IMAGE
public static final java.lang.String LABEL_INSERT
public static final java.lang.String LABEL_JOIN
public static final java.lang.String LABEL_JOIN_X
public static final java.lang.String LABEL_LAST
public static final java.lang.String LABEL_LOGIN
public static final java.lang.String LABEL_LOGOUT
public static final java.lang.String LABEL_LOWER
public static final java.lang.String LABEL_NEXT
public static final java.lang.String LABEL_NEW
public static final java.lang.String LABEL_NEW_X
public static final java.lang.String LABEL_ORDER
public static final java.lang.String LABEL_PASSWORD
public static final java.lang.String LABEL_PASSWORD_VERIFICATION
public static final java.lang.String LABEL_PREVIOUS
public static final java.lang.String LABEL_PRODUCT_JAVA
public static final java.lang.String LABEL_PROPERTIES
public static final java.lang.String LABEL_X_PROPERTIES
public static final java.lang.String LABEL_RAISE
public static final java.lang.String LABEL_READ
public static final java.lang.String LABEL_REFRESH
public static final java.lang.String LABEL_REJECT
public static final java.lang.String LABEL_REMOVE
public static final java.lang.String LABEL_RENAME
public static final java.lang.String LABEL_RENAME_X
public static final java.lang.String LABEL_RESOURCE
public static final java.lang.String LABEL_RETRY
public static final java.lang.String LABEL_SORT
public static final java.lang.String LABEL_START
public static final java.lang.String LABEL_STOP
public static final java.lang.String LABEL_SUBMIT
public static final java.lang.String LABEL_SUBTRACT
public static final java.lang.String LABEL_TIME
public static final java.lang.String LABEL_TOTAL
public static final java.lang.String LABEL_TYPE
public static final java.lang.String LABEL_UNKNOWN
public static final java.lang.String LABEL_UPLOAD
public static final java.lang.String LABEL_UPLOAD_TO_X
public static final java.lang.String LABEL_URI
public static final java.lang.String LABEL_USERNAME
public static final java.lang.String LABEL_VERIFTY
public static final java.lang.String LABEL_VERSION
public static final java.lang.String LABEL_VIEW
public static final java.net.URI GLYPH_ABOUT
public static final java.net.URI GLYPH_ACCEPT
public static final java.net.URI GLYPH_ACCEPT_MULTIPLE
public static final java.net.URI GLYPH_ACCESS
public static final java.net.URI GLYPH_ADD
public static final java.net.URI GLYPH_ANIMATION
public static final java.net.URI GLYPH_ARROW_DOWN
public static final java.net.URI GLYPH_ARROW_LEFT
public static final java.net.URI GLYPH_ARROW_RIGHT
public static final java.net.URI GLYPH_ARROW_UP
public static final java.net.URI GLYPH_AUDIO
public static final java.net.URI GLYPH_BLANK
public static final java.net.URI GLYPH_BROWSE
public static final java.net.URI GLYPH_BUSY
public static final java.net.URI GLYPH_CALENDAR
public static final java.net.URI GLYPH_CANCEL
public static final java.net.URI GLYPH_CLOSE
public static final java.net.URI GLYPH_CONFIRM
public static final java.net.URI GLYPH_DELETE
public static final java.net.URI GLYPH_DOCUMENT
public static final java.net.URI GLYPH_DOCUMENT_CONTENT
public static final java.net.URI GLYPH_DOCUMENT_NEW
public static final java.net.URI GLYPH_DOCUMENT_PREVIEW
public static final java.net.URI GLYPH_DOCUMENT_RICH_CONTENT
public static final java.net.URI GLYPH_DOCUMENT_STACk
public static final java.net.URI GLYPH_DOWNLOAD
public static final java.net.URI GLYPH_EDIT
public static final java.net.URI GLYPH_EMAIL
public static final java.net.URI GLYPH_ENTER
public static final java.net.URI GLYPH_ERROR
public static final java.net.URI GLYPH_EXIT
public static final java.net.URI GLYPH_EXCLAMATION
public static final java.net.URI GLYPH_EYEGLASSES
public static final java.net.URI GLYPH_FINISH
public static final java.net.URI GLYPH_FIRST
public static final java.net.URI GLYPH_FOLDER
public static final java.net.URI GLYPH_FOLDER_CLOSED
public static final java.net.URI GLYPH_FOLDER_OPEN
public static final java.net.URI GLYPH_FOLDER_RICH_CONTENT
public static final java.net.URI GLYPH_FOLDER_TREE
public static final java.net.URI GLYPH_HELP
public static final java.net.URI GLYPH_HIDE
public static final java.net.URI GLYPH_HIERARCHY
public static final java.net.URI GLYPH_HOME
public static final java.net.URI GLYPH_IMAGE
public static final java.net.URI GLYPH_INFO
public static final java.net.URI GLYPH_INSERT
public static final java.net.URI GLYPH_JOIN
public static final java.net.URI GLYPH_KEY
public static final java.net.URI GLYPH_LAST
public static final java.net.URI GLYPH_LIST
public static final java.net.URI GLYPH_LOCK_CLOSED
public static final java.net.URI GLYPH_LOCK_OPEN
public static final java.net.URI GLYPH_LOGIN
public static final java.net.URI GLYPH_LOGOUT
public static final java.net.URI GLYPH_MEDIA_ADVANCE
public static final java.net.URI GLYPH_MEDIA_NEXT
public static final java.net.URI GLYPH_MEDIA_PAUSE
public static final java.net.URI GLYPH_MEDIA_PLAY
public static final java.net.URI GLYPH_MEDIA_PREVIOUS
public static final java.net.URI GLYPH_MEDIA_RECEDE
public static final java.net.URI GLYPH_MEDIA_RECORD
public static final java.net.URI GLYPH_MEDIA_STOP
public static final java.net.URI GLYPH_MUSIC
public static final java.net.URI GLYPH_NEXT
public static final java.net.URI GLYPH_ORDER
public static final java.net.URI GLYPH_PASSWORD
public static final java.net.URI GLYPH_PICTURE
public static final java.net.URI GLYPH_POLYGON_CURVED
public static final java.net.URI GLYPH_POLYGON_POINTS
public static final java.net.URI GLYPH_PREVIEW
public static final java.net.URI GLYPH_PREVIOUS
public static final java.net.URI GLYPH_PRODUCT_JAVA
public static final java.net.URI GLYPH_PROPERTIES
public static final java.net.URI GLYPH_QUESTION
public static final java.net.URI GLYPH_REFRESH
public static final java.net.URI GLYPH_REMOVE
public static final java.net.URI GLYPH_REJECT
public static final java.net.URI GLYPH_REJECT_MULTIPLE
public static final java.net.URI GLYPH_RENAME
public static final java.net.URI GLYPH_RESOURCE
public static final java.net.URI GLYPH_RETRY
public static final java.net.URI GLYPH_SELECTED
public static final java.net.URI GLYPH_SORT
public static final java.net.URI GLYPH_SPEECH_BUBBLE
public static final java.net.URI GLYPH_SPEECH_BUBBLE_TEXT
public static final java.net.URI GLYPH_SPEECH_BUBBLE_TEXT_ADD
public static final java.net.URI GLYPH_START
public static final java.net.URI GLYPH_STOP
public static final java.net.URI GLYPH_STRING_EDIT
public static final java.net.URI GLYPH_SUBMIT
public static final java.net.URI GLYPH_SUBTRACT
public static final java.net.URI GLYPH_THUMBNAILS
public static final java.net.URI GLYPH_TREE
public static final java.net.URI GLYPH_UNSELECTED
public static final java.net.URI GLYPH_UPLOAD
public static final java.net.URI GLYPH_USER
public static final java.net.URI GLYPH_VERIFY
public static final java.net.URI GLYPH_VIEW
public static final java.net.URI GLYPH_WARN
public static final java.lang.String MESSAGE_BUSY
public static final java.lang.String MESSAGE_PASSWORD_INVALID
public static final java.lang.String MESSAGE_PASSWORD_UNVERIFIED
public static final java.lang.String MESSAGE_TASK_SUCCESS
public static final java.lang.String MESSAGE_USER_INVALID
public static final java.lang.String MESSAGE_USER_EXISTS
public static final java.net.URI CURSOR_CROSSHAIR
public static final java.net.URI CURSOR_DEFAULT
public static final java.net.URI CURSOR_HELP
public static final java.net.URI CURSOR_MOVE
public static final java.net.URI CURSOR_POINTER
public static final java.net.URI CURSOR_PROGRESS
public static final java.net.URI CURSOR_RESIZE_LINE_FAR
public static final java.net.URI CURSOR_RESIZE_LINE_FAR_PAGE_FAR
public static final java.net.URI CURSOR_RESIZE_LINE_FAR_PAGE_NEAR
public static final java.net.URI CURSOR_RESIZE_LINE_NEAR
public static final java.net.URI CURSOR_RESIZE_LINE_NEAR_PAGE_FAR
public static final java.net.URI CURSOR_RESIZE_LINE_NEAR_PAGE_NEAR
public static final java.net.URI CURSOR_RESIZE_PAGE_FAR
public static final java.net.URI CURSOR_RESIZE_PAGE_NEAR
public static final java.net.URI CURSOR_TEXT
public static final java.net.URI CURSOR_WAIT
public static final java.net.URI SLIDER_THUMB_X_IMAGE
public static final java.net.URI SLIDER_THUMB_Y_IMAGE
public static final java.net.URI SLIDER_TRACK_X_IMAGE
public static final java.net.URI SLIDER_TRACK_Y_IMAGE
| Constructor Detail |
|---|
public Theme()
public Theme(java.net.URI referenceURI)
referenceURI - The reference URI for the new resource.public Theme(java.util.Collection<? extends Rule> collection)
collection - The collection whose elements are to be placed into this list.
java.lang.NullPointerException - if the specified collection is null.
public Theme(java.net.URI uri,
java.util.Collection<? extends Rule> collection)
uri - The URI for the resource, or null if the resource should have no URI.collection - The collection whose elements are to be placed into this list.
java.lang.NullPointerException - if the specified collection is null.public Theme(Theme parent)
parent - The theme to serve as the parent of this theme, or null if this theme should have no parent.| Method Detail |
|---|
public Theme getParent()
null if there is no resolving parent.public void setParent(Theme newParent)
newParent - The new theme parent, or null if there should be no resolving parent.public java.util.Set<Rule> getClassRules(java.lang.Object object)
object - The object for which class-selected rules should be returned.
java.lang.NullPointerException - if the given object is null.public java.net.URI getParentURI()
null if no parent theme is indicated or the value is not a URI.public java.lang.Iterable<com.globalmentor.urf.URFResource> getResourceResources(java.util.Locale locale)
public java.lang.Iterable<com.globalmentor.urf.URFResource> getStyles()
public void updateRules()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException - if one of the rules selects a class that cannot be found.PropertySelector#getSelectClass()
protected void updateRules(Rule rule,
com.globalmentor.urf.select.Selector selector)
throws java.lang.ClassNotFoundException
OperatorSelectors will be updated recursively.
rule - The rule with which the theme will be updated.selector - The selector which may result in the theme being updated with this rule.
java.lang.NullPointerException - if the given rule and/or selector is null.
java.lang.ClassNotFoundException - if one of the selectors selects a class that cannot be found.PropertySelector#getSelectClass()public void apply(java.lang.Object object)
object - The object to which this theme should be applied.
java.lang.NullPointerException - if the given object is null.
java.lang.IllegalStateException - if a resource is a Java-typed resource the class of which cannot be found.
java.lang.IllegalStateException - if a particular value is not an appropriate argument for the corresponding property.
java.lang.IllegalStateException - If a particular property could not be accessed.
java.lang.IllegalStateException - if a resource indicates a Java class the constructor of which throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||