org.almendra.commons.util.swing
Class BillboardPanelController

java.lang.Object
  extended by org.almendra.commons.util.swing.BillboardPanelController

public class BillboardPanelController
extends java.lang.Object

Insert the type's description here. Creation date: (08.03.2004 13:22:52)


Field Summary
static java.lang.String BLANK_LINE
           
protected  java.util.List hiddenMasks
           
static java.lang.String LABEL
           
protected  EDU.oswego.cs.dl.util.concurrent.ReentrantLock lock
           
protected  java.util.Map masks
           
protected  java.util.List masksOrder
           
protected  java.util.Map nodeAttributeStartPositions
           
protected  java.lang.String separator
           
protected  javax.swing.JTextArea textArea
           
protected  java.util.Map valuesByAttribute
           
 
Constructor Summary
protected BillboardPanelController()
          NodeViewController constructor comment.
  BillboardPanelController(javax.swing.JTextArea textArea)
          NodeViewController constructor comment.
  BillboardPanelController(javax.swing.JTextArea textArea, java.lang.String separator)
          NodeViewController constructor comment.
 
Method Summary
protected  void changeValue(java.lang.String maskName, java.lang.String attributeName, boolean increment)
           
 void decrementValue(java.lang.String maskName, java.lang.String attributeName)
           
protected  void fillInitialMask(java.util.List attributeMask)
          NodeViewController constructor comment.
protected  int getAttributePos(java.lang.String maskName, java.lang.String attributeName)
           
 java.util.List getMaskNames()
           
protected  int getMaskStartPosition(java.lang.String maskName)
           
protected  java.lang.Integer getNextFreeItemNumber()
           
 java.lang.String getValue(java.lang.String maskName, java.lang.String attributeName)
           
 void hideMasks(java.util.List maskNames)
           
 void incrementValue(java.lang.String maskName, java.lang.String attributeName)
           
 void insertAttribute(java.lang.String maskName, java.lang.String newAttribute, java.lang.String afterAttributeOrNull, java.lang.String value)
          NodeViewController constructor comment.
 void reset()
           
 void resetCounts()
           
protected  void setAttributeValuePair(java.lang.String attribute, java.lang.String value, int line)
           
 void setMask(java.lang.String maskName, java.util.List attributeMask)
          NodeViewController constructor comment.
 void setValue(java.lang.String maskName, java.lang.String attributeName, java.lang.String value)
          NodeViewController constructor comment.
 void unsetMask(java.lang.String maskName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL

public static final java.lang.String LABEL
See Also:
Constant Field Values

BLANK_LINE

public static final java.lang.String BLANK_LINE
See Also:
Constant Field Values

separator

protected java.lang.String separator

masksOrder

protected java.util.List masksOrder

hiddenMasks

protected java.util.List hiddenMasks

masks

protected java.util.Map masks

valuesByAttribute

protected java.util.Map valuesByAttribute

nodeAttributeStartPositions

protected java.util.Map nodeAttributeStartPositions

textArea

protected javax.swing.JTextArea textArea

lock

protected EDU.oswego.cs.dl.util.concurrent.ReentrantLock lock
Constructor Detail

BillboardPanelController

protected BillboardPanelController()
NodeViewController constructor comment.


BillboardPanelController

public BillboardPanelController(javax.swing.JTextArea textArea)
NodeViewController constructor comment.


BillboardPanelController

public BillboardPanelController(javax.swing.JTextArea textArea,
                                java.lang.String separator)
NodeViewController constructor comment.

Method Detail

fillInitialMask

protected void fillInitialMask(java.util.List attributeMask)
NodeViewController constructor comment.


setAttributeValuePair

protected void setAttributeValuePair(java.lang.String attribute,
                                     java.lang.String value,
                                     int line)

getNextFreeItemNumber

protected java.lang.Integer getNextFreeItemNumber()

insertAttribute

public void insertAttribute(java.lang.String maskName,
                            java.lang.String newAttribute,
                            java.lang.String afterAttributeOrNull,
                            java.lang.String value)
NodeViewController constructor comment.


setMask

public void setMask(java.lang.String maskName,
                    java.util.List attributeMask)
NodeViewController constructor comment.


incrementValue

public void incrementValue(java.lang.String maskName,
                           java.lang.String attributeName)

decrementValue

public void decrementValue(java.lang.String maskName,
                           java.lang.String attributeName)

getValue

public java.lang.String getValue(java.lang.String maskName,
                                 java.lang.String attributeName)

changeValue

protected void changeValue(java.lang.String maskName,
                           java.lang.String attributeName,
                           boolean increment)

getAttributePos

protected int getAttributePos(java.lang.String maskName,
                              java.lang.String attributeName)

getMaskStartPosition

protected int getMaskStartPosition(java.lang.String maskName)

setValue

public void setValue(java.lang.String maskName,
                     java.lang.String attributeName,
                     java.lang.String value)
NodeViewController constructor comment.


reset

public void reset()

unsetMask

public void unsetMask(java.lang.String maskName)
Parameters:
string -

resetCounts

public void resetCounts()

getMaskNames

public java.util.List getMaskNames()

hideMasks

public void hideMasks(java.util.List maskNames)
Parameters:
list -