|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagg.attribute.impl.AttrObject
agg.attribute.impl.ManagedObject
agg.attribute.view.impl.ViewSetting
agg.attribute.view.impl.MaskedViewSetting
public class MaskedViewSetting
Field Summary | |
---|---|
protected OpenViewSetting |
openView
|
Fields inherited from class agg.attribute.view.impl.ViewSetting |
---|
observerTab |
Fields inherited from class agg.attribute.impl.ManagedObject |
---|
manager |
Fields inherited from class agg.attribute.impl.AttrObject |
---|
classHandlerExpr, classObject, classString, initialized |
Constructor Summary | |
---|---|
MaskedViewSetting(OpenViewSetting ov)
|
Method Summary | |
---|---|
void |
addObserver(AttrViewObserver o,
AttrTuple attr)
Adding an observer for an attribute tuple's representation. |
int |
convertIndexToSlot(AttrTuple attr,
int index)
Returns the slot position in the view layout for 'attr' at 'index'. |
int |
convertSlotToIndex(AttrTuple attr,
int slot)
Returns the index for 'attr' at 'slot', as set in this view layout. |
protected TupleFormat |
getFormat(AttrTuple attr)
Getting the tuple format for a (type) tuple. |
AttrViewSetting |
getMaskedView()
Returns the 'masked subview', manipulating of visibility of members (setVisibleAt(...)) affects this subview. |
AttrViewSetting |
getOpenView()
Returns the 'open subview', manipulating of visibility of members (setVisibleAt(...)) only affects the other subview. |
int |
getSize(AttrTuple attr)
Returns the number of members that are visible in this view. |
boolean |
hasObserver(AttrTuple attr)
|
boolean |
isVisible(AttrTuple attr,
int slot)
Testing if the attribute member at the specified slot is visible in this view. |
void |
moveSlotInserting(AttrTuple attr,
int srcSlot,
int destSlot)
Moves the member at "srcSlot" to "destSlot", inserting-wise. |
protected void |
removeFormat(AttrType type)
Removing the format for a (type) tuple. |
void |
removeObserver(AttrViewObserver o,
AttrTuple attr)
Removing an observer for an attribute tuple's representation. |
void |
resetTuple(AttrTuple attr)
Reset the tuple layout, so each slot number is the same as the index it contains, with all slots visible. |
void |
setAllVisible(AttrTuple attr,
boolean b)
Setting, if all attribute members of 'attr' should either be at once made visible or hidden. |
void |
setVisible(AttrTuple attr)
Set visibility to true, if declaration type member of AttrTuple attr is visible, else - to false. |
void |
setVisibleAt(AttrTuple attr,
boolean b,
int slot)
Setting, if the attribute member at the specified slot of this view should be visible or not. |
Methods inherited from class agg.attribute.view.impl.ViewSetting |
---|
addObserverForTuple, dispose, finalize, fireAttrChanged, getObserversForTuple, moveSlotAppending, notifyObservers, propagateAttrEvent, removeObserverForTuple, toString |
Methods inherited from class agg.attribute.impl.ManagedObject |
---|
getAttrManager, getManager |
Methods inherited from class agg.attribute.impl.AttrObject |
---|
defaultToString, err, err, getInstRepr, log, log, log, logEnteredMethod, logPrintln, logPrintln, stdoutPrintOnEnter, stdoutPrintOnExit, toString, update, warn, warn, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected OpenViewSetting openView
Constructor Detail |
---|
public MaskedViewSetting(OpenViewSetting ov)
Method Detail |
---|
protected TupleFormat getFormat(AttrTuple attr)
getFormat
in class ViewSetting
protected void removeFormat(AttrType type)
removeFormat
in class ViewSetting
public AttrViewSetting getOpenView()
AttrViewSetting
AttrViewSetting.getMaskedView().
public AttrViewSetting getMaskedView()
AttrViewSetting
public void addObserver(AttrViewObserver o, AttrTuple attr)
AttrViewSetting
public void removeObserver(AttrViewObserver o, AttrTuple attr)
AttrViewSetting
public boolean hasObserver(AttrTuple attr)
public int convertIndexToSlot(AttrTuple attr, int index)
AttrViewSetting
public int convertSlotToIndex(AttrTuple attr, int slot)
AttrViewSetting
public int getSize(AttrTuple attr)
AttrViewSetting
public boolean isVisible(AttrTuple attr, int slot)
AttrViewSetting
public void setVisibleAt(AttrTuple attr, boolean b, int slot)
AttrViewSetting
public void setAllVisible(AttrTuple attr, boolean b)
AttrViewSetting
public void setVisible(AttrTuple attr)
AttrViewSetting
public void moveSlotInserting(AttrTuple attr, int srcSlot, int destSlot)
AttrViewSetting
public void resetTuple(AttrTuple attr)
AttrViewSetting
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |