org.exist.client.xacml
Class TargetTableModel

java.lang.Object
  extended by org.exist.client.xacml.TargetTableModel
All Implemented Interfaces:
TableModel

public class TargetTableModel
extends Object
implements TableModel


Constructor Summary
TargetTableModel(int type, Abbreviator abbrev)
           
 
Method Summary
 void addTableModelListener(TableModelListener listener)
           
 List createTarget()
           
static boolean equals(AttributeDesignator one, AttributeDesignator two)
           
static boolean equals(URI one, URI two)
           
 AttributeDesignator getAttribute(int col)
           
 Class getColumnClass(int col)
           
 int getColumnCount()
           
 String getColumnName(int pos)
           
 URI getFunctionId(int row, int col)
           
 int getIndex(AttributeDesignator attribute)
           
 int getRowCount()
           
 AttributeValue getValue(int row, int col)
           
 Object getValueAt(int row, int col)
           
 boolean isCellEditable(int row, int col)
           
 void removeRow(int row)
           
 void removeTableModelListener(TableModelListener listener)
           
 void setTarget(List target)
           
 void setValue(int row, int col, TargetMatch match)
           
 void setValue(URI functionId, AttributeValue value, int row, int col)
           
 void setValueAt(Object value, int row, int col)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetTableModel

public TargetTableModel(int type,
                        Abbreviator abbrev)
Method Detail

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel

isCellEditable

public boolean isCellEditable(int row,
                              int col)
Specified by:
isCellEditable in interface TableModel

getColumnClass

public Class getColumnClass(int col)
Specified by:
getColumnClass in interface TableModel

getValueAt

public Object getValueAt(int row,
                         int col)
Specified by:
getValueAt in interface TableModel

setValueAt

public void setValueAt(Object value,
                       int row,
                       int col)
Specified by:
setValueAt in interface TableModel

getAttribute

public AttributeDesignator getAttribute(int col)

getFunctionId

public URI getFunctionId(int row,
                         int col)

getValue

public AttributeValue getValue(int row,
                               int col)

setValue

public void setValue(URI functionId,
                     AttributeValue value,
                     int row,
                     int col)

removeRow

public void removeRow(int row)

setTarget

public void setTarget(List target)

createTarget

public List createTarget()

setValue

public void setValue(int row,
                     int col,
                     TargetMatch match)

getIndex

public int getIndex(AttributeDesignator attribute)

equals

public static boolean equals(AttributeDesignator one,
                             AttributeDesignator two)

equals

public static boolean equals(URI one,
                             URI two)

getColumnName

public String getColumnName(int pos)
Specified by:
getColumnName in interface TableModel

addTableModelListener

public void addTableModelListener(TableModelListener listener)
Specified by:
addTableModelListener in interface TableModel

removeTableModelListener

public void removeTableModelListener(TableModelListener listener)
Specified by:
removeTableModelListener in interface TableModel


Copyright (C) Wolfgang Meier. All rights reserved.