Class Stacking

java.lang.Object
  |
  +--Stacking
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, javax.swing.ListCellRenderer, javax.swing.ListModel, java.io.Serializable

public class Stacking
extends java.lang.Object
implements java.awt.event.ActionListener, javax.swing.ListModel, javax.swing.ListCellRenderer, java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  java.util.HashSet datalisteners
           
(package private) static java.lang.String DELCOM
           
(package private) static javax.swing.Icon DELICON
           
(package private)  Stacking edit
           
 java.awt.geom.Area hide
           
(package private) static int HIDE
           
(package private) static java.lang.String HIDECOM
           
(package private) static javax.swing.Icon HIDEICON
           
(package private)  javax.swing.JPanel listbox
           
(package private) static int MAXHEIGHT
           
(package private) static int MAXWIDTH
           
(package private)  javax.swing.JList memberlist
           
(package private)  java.util.Vector modifier
           
(package private)  javax.swing.JLabel modlab
           
(package private)  javax.swing.JList modlist
           
(package private)  int modpad
           
 java.awt.geom.Area over
           
(package private) static int OVER
           
(package private) static java.lang.String OVERCOM
           
(package private) static javax.swing.Icon OVERICON
           
(package private)  java.util.Vector relation
           
(package private)  javax.swing.JLabel rellab
           
(package private) static int scrollmargin
           
private static long serialVersionUID
           
(package private)  java.util.Vector target
           
(package private)  javax.swing.JLabel targlab
           
(package private)  javax.swing.JList targlist
           
(package private)  int targpad
           
 java.awt.geom.Area under
           
(package private) static int UNDER
           
(package private) static java.lang.String UNDERCOM
           
(package private) static javax.swing.Icon UNDERICON
           
 
Constructor Summary
Stacking()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addListDataListener(javax.swing.event.ListDataListener list)
           
 void addMember(Region mod, Symbol targ, int rel)
           
 void clear()
           
 java.lang.Object clone()
           
 void copy(Stacking thatitem)
           
 void delMember(int index)
           
 java.lang.Object getElementAt(int index)
           
 java.awt.Component getListCellRendererComponent(javax.swing.JList list, java.lang.Object value, int index, boolean selected, boolean hasfocus)
           
 java.lang.Object[] getMods()
           
 void getOverUnder(Symbol targ, View view)
           
 java.awt.Container getPane(Comp comp)
           
 int getSize()
           
 java.lang.Object[] getTargs(Comp comp)
           
 void removeListDataListener(javax.swing.event.ListDataListener list)
           
 void save()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID

modifier

java.util.Vector modifier

target

java.util.Vector target

relation

java.util.Vector relation

edit

transient Stacking edit

memberlist

transient javax.swing.JList memberlist

modlist

transient javax.swing.JList modlist

targlist

transient javax.swing.JList targlist

datalisteners

transient java.util.HashSet datalisteners

listbox

transient javax.swing.JPanel listbox

modlab

transient javax.swing.JLabel modlab

modpad

transient int modpad

rellab

transient javax.swing.JLabel rellab

targlab

transient javax.swing.JLabel targlab

targpad

transient int targpad

scrollmargin

static int scrollmargin

MAXWIDTH

static int MAXWIDTH

MAXHEIGHT

static int MAXHEIGHT

DELICON

static javax.swing.Icon DELICON

OVERICON

static javax.swing.Icon OVERICON

UNDERICON

static javax.swing.Icon UNDERICON

HIDEICON

static javax.swing.Icon HIDEICON

DELCOM

static java.lang.String DELCOM

OVERCOM

static java.lang.String OVERCOM

UNDERCOM

static java.lang.String UNDERCOM

HIDECOM

static java.lang.String HIDECOM

OVER

static int OVER

UNDER

static int UNDER

HIDE

static int HIDE

over

public transient java.awt.geom.Area over

under

public transient java.awt.geom.Area under

hide

public transient java.awt.geom.Area hide
Constructor Detail

Stacking

public Stacking()
Method Detail

getOverUnder

public void getOverUnder(Symbol targ,
                         View view)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

copy

public void copy(Stacking thatitem)

getMods

public java.lang.Object[] getMods()

getTargs

public java.lang.Object[] getTargs(Comp comp)

getPane

public java.awt.Container getPane(Comp comp)

save

public void save()

clear

public void clear()

addMember

public void addMember(Region mod,
                      Symbol targ,
                      int rel)

delMember

public void delMember(int index)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

addListDataListener

public void addListDataListener(javax.swing.event.ListDataListener list)
Specified by:
addListDataListener in interface javax.swing.ListModel

getSize

public int getSize()
Specified by:
getSize in interface javax.swing.ListModel

getElementAt

public java.lang.Object getElementAt(int index)
Specified by:
getElementAt in interface javax.swing.ListModel

removeListDataListener

public void removeListDataListener(javax.swing.event.ListDataListener list)
Specified by:
removeListDataListener in interface javax.swing.ListModel

getListCellRendererComponent

public java.awt.Component getListCellRendererComponent(javax.swing.JList list,
                                                       java.lang.Object value,
                                                       int index,
                                                       boolean selected,
                                                       boolean hasfocus)
Specified by:
getListCellRendererComponent in interface javax.swing.ListCellRenderer