public class AttributeRegistry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SortedMapVector |
elements |
static int |
GLOBAL |
protected boolean |
isAttributeLayoutChanged |
protected MapRegistry |
registry |
protected int |
visibleElementsNumber |
Constructor and Description |
---|
AttributeRegistry() |
AttributeRegistry(MapRegistry registry) |
Modifier and Type | Method and Description |
---|---|
void |
addAttributesListener(AttributesListener l) |
void |
addChangeListener(javax.swing.event.ChangeListener l) |
void |
applyChanges() |
boolean |
containsElement(java.lang.String name) |
void |
decrementVisibleElementsNumber() |
boolean |
exist(java.lang.String attributeName,
java.lang.Object element) |
void |
fireAttributeLayoutChanged() |
protected void |
fireAttributesChanged() |
void |
fireStateChanged() |
AttributeController |
getAttributeController() |
java.lang.String |
getAttributeViewType() |
javax.swing.ComboBoxModel |
getComboBoxModel() |
javax.swing.ComboBoxModel |
getDefaultComboBoxModel(java.lang.Comparable attrName) |
AttributeRegistryElement |
getElement(java.lang.Comparable attrName) |
AttributeRegistryElement |
getElement(int index) |
SortedMapVector |
getElements() |
int |
getFontSize() |
java.lang.Comparable |
getKey(int index) |
SortedListModel |
getListBoxModel() |
AttributeRegistryTableModel |
getTableModel() |
SortedListModel |
getValues(int row) |
int |
getVisibleElementsNumber() |
void |
incrementVisibleElementsNumber() |
int |
indexOf(java.lang.String string) |
boolean |
isRestricted() |
boolean |
isRestricted(java.lang.String s) |
void |
registry(Attribute newAttribute) |
void |
registry(java.lang.String name) |
void |
removeAttributesListener(AttributesListener l) |
void |
removeChangeListener(javax.swing.event.ChangeListener l) |
void |
resetChanges() |
void |
save(java.io.Writer fileout) |
void |
setAttributeLayoutChanged() |
void |
setAttributeViewType(java.lang.String attributeViewType) |
void |
setFontSize(int size) |
void |
setRestricted(boolean b) |
void |
setRestricted(java.lang.String s,
boolean b) |
void |
setRestrictionModel(int row,
java.lang.Boolean value) |
void |
setVisibilityModel(int row,
java.lang.Boolean visible) |
int |
size() |
void |
unregistry(java.lang.String name) |
protected int visibleElementsNumber
protected MapRegistry registry
protected SortedMapVector elements
public static final int GLOBAL
protected boolean isAttributeLayoutChanged
public AttributeRegistry()
public AttributeRegistry(MapRegistry registry)
public int size()
public java.lang.Comparable getKey(int index)
public AttributeRegistryElement getElement(int index)
public AttributeController getAttributeController()
public boolean containsElement(java.lang.String name)
public javax.swing.ComboBoxModel getComboBoxModel()
public SortedListModel getListBoxModel()
public javax.swing.ComboBoxModel getDefaultComboBoxModel(java.lang.Comparable attrName)
public AttributeRegistryElement getElement(java.lang.Comparable attrName)
public int getVisibleElementsNumber()
public void addChangeListener(javax.swing.event.ChangeListener l)
public void removeChangeListener(javax.swing.event.ChangeListener l)
public void addAttributesListener(AttributesListener l)
public void removeAttributesListener(AttributesListener l)
public void fireAttributeLayoutChanged()
public void fireStateChanged()
protected void fireAttributesChanged()
public int indexOf(java.lang.String string)
public void setVisibilityModel(int row, java.lang.Boolean visible)
public AttributeRegistryTableModel getTableModel()
public void setRestrictionModel(int row, java.lang.Boolean value)
public boolean isRestricted(java.lang.String s)
public void setRestricted(java.lang.String s, boolean b)
public SortedListModel getValues(int row)
public boolean isRestricted()
public void setRestricted(boolean b)
public int getFontSize()
public void setFontSize(int size)
public void save(java.io.Writer fileout) throws java.io.IOException
java.io.IOException
public void resetChanges()
public void applyChanges()
public boolean exist(java.lang.String attributeName, java.lang.Object element)
public SortedMapVector getElements()
public void decrementVisibleElementsNumber()
public void incrementVisibleElementsNumber()
public void registry(Attribute newAttribute)
public void registry(java.lang.String name)
public void setAttributeLayoutChanged()
public void unregistry(java.lang.String name)
public java.lang.String getAttributeViewType()
public void setAttributeViewType(java.lang.String attributeViewType)