public class AbstractRuleBlock<T> extends AbstractRule<T> implements RuleBlock<T>
RuleBlock.Priority| Modifier and Type | Field and Description |
|---|---|
protected RuleBlock.Priority |
priority |
protected StyleSheet |
stylesheet |
hash, listmodCount| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRuleBlock(RuleBlock.Priority priority) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RuleBlock<?> o) |
boolean |
equals(Object obj) |
RuleBlock.Priority |
getPriority()
Returns priority associated with this object
|
StyleSheet |
getStyleSheet()
Returns the stylesheet where the rule is contained.
|
int |
hashCode() |
RuleBlock<T> |
setPriority(RuleBlock.Priority priority)
Sets priority for current object
|
void |
setStyleSheet(StyleSheet stylesheet)
Sets the owner style sheet for this rule.
|
add, add, asList, get, iterator, remove, replaceAll, set, size, unlockaddAll, clear, indexOf, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasList, replaceAll, unlockprotected RuleBlock.Priority priority
protected StyleSheet stylesheet
protected AbstractRuleBlock(RuleBlock.Priority priority)
public RuleBlock<T> setPriority(RuleBlock.Priority priority)
RuleBlocksetPriority in interface RuleBlock<T>priority - New objects prioritypublic RuleBlock.Priority getPriority()
RuleBlockgetPriority in interface RuleBlock<T>public StyleSheet getStyleSheet()
RuleBlockgetStyleSheet in interface RuleBlock<T>public void setStyleSheet(StyleSheet stylesheet)
RuleBlocksetStyleSheet in interface RuleBlock<T>stylesheet - The stylesheet where this rule is contained.public int compareTo(RuleBlock<?> o) throws ClassCastException
compareTo in interface Comparable<RuleBlock<?>>ClassCastExceptionpublic int hashCode()
hashCode in interface Collection<T>hashCode in interface List<T>hashCode in class AbstractRule<T>public boolean equals(Object obj)
equals in interface Collection<T>equals in interface List<T>equals in class AbstractRule<T>Copyright © 2014. All rights reserved.