Class LayerList

java.lang.Object
  |
  +--FileDefaultable
        |
        +--Layer
              |
              +--LayerList
All Implemented Interfaces:
java.awt.event.ActionListener, java.lang.Cloneable, java.lang.Comparable, java.util.EventListener, javax.swing.ListCellRenderer, javax.swing.ListModel, java.io.Serializable

public class LayerList
extends Layer
implements java.awt.event.ActionListener, javax.swing.ListModel, javax.swing.ListCellRenderer

See Also:
Serialized Form

Field Summary
(package private) static java.lang.String ADDCOM
           
(package private) static javax.swing.Icon ADDICON
           
(package private) static java.lang.String ADDSELCOM
           
(package private) static javax.swing.Icon ADDSELICON
           
(package private)  javax.swing.JPanel box
           
(package private)  javax.swing.JList candlist
           
(package private) static java.lang.String COMPRESSCOM
           
(package private) static javax.swing.Icon COMPRESSICON
           
(package private)  java.util.HashSet datalisteners
           
(package private)  javax.swing.JLabel deflab
           
(package private) static java.lang.String DELCOM
           
(package private) static javax.swing.Icon DELICON
           
(package private)  LayerList edit
           
(package private) static java.lang.String EXCLUDECOM
           
(package private) static javax.swing.Icon EXCLUDEICON
           
(package private)  javax.swing.JLabel inclab
           
static int INCLUDE
           
(package private) static java.lang.String INCLUDECOM
           
(package private) static javax.swing.Icon INCLUDEICON
           
(package private)  javax.swing.JPanel listbox
           
(package private)  javax.swing.JLabel listlab
           
(package private)  javax.swing.JList memberlist
           
(package private)  java.util.Vector members
           
(package private)  java.util.Vector operator
           
(package private)  java.lang.String pad
           
(package private) static java.lang.String PROVCOM
           
(package private) static javax.swing.Icon PROVICON
           
static int PROVISIONAL
           
(package private) static int scrollmargin
           
private static long serialVersionUID
           
(package private) static java.lang.String SURECOM
           
(package private) static javax.swing.Icon SUREICON
           
 
Fields inherited from class Layer
all, ALL, defaults, file, fixed, mindefaults, name, none, NONE
 
Fields inherited from class FileDefaultable
curfile, defmap, filemap, fixedmap, minmap
 
Constructor Summary
(package private) LayerList()
           
  LayerList(java.lang.String str)
           
  LayerList(java.lang.String name, java.util.Collection members)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addListDataListener(javax.swing.event.ListDataListener list)
           
 void addMember(Layer newlayer, int index)
           
 boolean check()
           
 java.lang.Object clone()
           
 void compress()
           
 void copy(FileDefaultable thatitem)
           
 void delMember(int index)
           
 boolean edit(javax.swing.JFrame owner)
           
 java.lang.Object getElementAt(int index)
           
 java.awt.Component getListCellRendererComponent(javax.swing.JList list, java.lang.Object value, int index, boolean selected, boolean hasfocus)
           
(package private)  void getPad()
           
 int getSize()
           
 boolean inList(Layer list)
           
 boolean isMember(java.lang.Object target)
           
 void removeListDataListener(javax.swing.event.ListDataListener list)
           
 
Methods inherited from class Layer
getName, readResolve
 
Methods inherited from class FileDefaultable
absorb, add, checkAll, cloneSet, compareTo, equals, getAll, getAll, getArray, getDefs, getExisting, getFile, getFixed, getGlobal, getMin, lookup, lookup, mergeDelete, mergeFile, seperate, sortOut, toString, toSuperString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID

members

java.util.Vector members

operator

java.util.Vector operator

PROVISIONAL

public static int PROVISIONAL

INCLUDE

public static int INCLUDE

INCLUDEICON

static javax.swing.Icon INCLUDEICON

EXCLUDEICON

static javax.swing.Icon EXCLUDEICON

PROVICON

static javax.swing.Icon PROVICON

SUREICON

static javax.swing.Icon SUREICON

ADDICON

static javax.swing.Icon ADDICON

DELICON

static javax.swing.Icon DELICON

ADDSELICON

static javax.swing.Icon ADDSELICON

COMPRESSICON

static javax.swing.Icon COMPRESSICON

INCLUDECOM

static java.lang.String INCLUDECOM

EXCLUDECOM

static java.lang.String EXCLUDECOM

PROVCOM

static java.lang.String PROVCOM

SURECOM

static java.lang.String SURECOM

ADDCOM

static java.lang.String ADDCOM

DELCOM

static java.lang.String DELCOM

ADDSELCOM

static java.lang.String ADDSELCOM

COMPRESSCOM

static java.lang.String COMPRESSCOM

edit

transient LayerList edit

memberlist

transient javax.swing.JList memberlist

candlist

transient javax.swing.JList candlist

datalisteners

transient java.util.HashSet datalisteners

box

transient javax.swing.JPanel box

scrollmargin

static int scrollmargin

listbox

transient javax.swing.JPanel listbox

inclab

transient javax.swing.JLabel inclab

deflab

transient javax.swing.JLabel deflab

listlab

transient javax.swing.JLabel listlab

pad

transient java.lang.String pad
Constructor Detail

LayerList

public LayerList(java.lang.String name,
                 java.util.Collection members)

LayerList

public LayerList(java.lang.String str)

LayerList

LayerList()
Method Detail

clone

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

copy

public void copy(FileDefaultable thatitem)
Overrides:
copy in class Layer

isMember

public boolean isMember(java.lang.Object target)
Overrides:
isMember in class Layer

inList

public boolean inList(Layer list)

check

public boolean check()
Overrides:
check in class FileDefaultable

edit

public boolean edit(javax.swing.JFrame owner)
Overrides:
edit in class Layer

addMember

public void addMember(Layer newlayer,
                      int index)

delMember

public void delMember(int index)

compress

public void compress()

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

getPad

void getPad()

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