Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.trapezium.chisel
Class ChiselRow  view ChiselRow download ChiselRow.java

java.lang.Object
  extended bycom.trapezium.chisel.GuiAdapter
      extended bycom.trapezium.chisel.ChiselPane
          extended bycom.trapezium.chisel.TableRow
              extended bycom.trapezium.chisel.ChiselRow
All Implemented Interfaces:
java.awt.event.ActionListener, com.trapezium.chisel.gui.DisplayConstants, java.util.EventListener, com.trapezium.factory.FactoryResponseListener, com.trapezium.chisel.gui.LabelConstants, java.awt.LayoutManager, ProcessedFileViewer, RowState

public class ChiselRow
extends TableRow
implements com.trapezium.chisel.gui.LabelConstants, com.trapezium.factory.FactoryResponseListener, java.awt.event.ActionListener, RowState

Handles GUI interface to a row in a chisel table.

Since:
1.0
Version:
1.1, 29 Jan 1998

Nested Class Summary
(package private)  class ChiselRow.ChiselOptionTable
           
 
Field Summary
(package private)  boolean automaticallyChecked
           
(package private)  boolean enabled
           
(package private)  long fileLength
           
(package private) static java.awt.Color greenGray
           
(package private)  ChiselRowListener listener
           
(package private) static java.awt.Insets optionCellInsets
           
(package private)  ChiselRow.ChiselOptionTable optionTable
           
(package private)  ChiselTable owner
           
(package private) static int rowCounter
           
(package private)  int rowNumber
          global row number
(package private)  ChiselDescriptor theChisel
           
 
Fields inherited from class com.trapezium.chisel.GuiAdapter
stretchLast
 
Fields inherited from interface com.trapezium.chisel.gui.LabelConstants
IMAGE_ALIGN, IMAGE_ALIGN_BOTTOM, IMAGE_ALIGN_CENTER, IMAGE_ALIGN_HORZ, IMAGE_ALIGN_LEFT, IMAGE_ALIGN_RIGHT, IMAGE_ALIGN_TOP, IMAGE_ALIGN_VCENTER, IMAGE_ALIGN_VERT, TEXT_ALIGN, TEXT_ALIGN_BOTTOM, TEXT_ALIGN_CENTER, TEXT_ALIGN_HORZ, TEXT_ALIGN_LEFT, TEXT_ALIGN_RIGHT, TEXT_ALIGN_TOP, TEXT_ALIGN_VCENTER, TEXT_ALIGN_VCENTERASCENT, TEXT_ALIGN_VERT
 
Fields inherited from interface com.trapezium.chisel.gui.DisplayConstants
BOTTOM_MARGIN, DEFAULT_ACTIVECOLOR, DEFAULT_BGCOLOR, DEFAULT_BORDERCOLOR, DEFAULT_CONTROLCOLOR, DEFAULT_DECAL, DEFAULT_FADEDTEXTCOLOR, DEFAULT_FRAMECOLOR, DEFAULT_GROOVECOLOR, DEFAULT_INACTIVECOLOR, DEFAULT_LITESHADOWCOLOR, DEFAULT_PANECOLOR, DEFAULT_POPUPCOLOR, DEFAULT_POPUPTEXTCOLOR, DEFAULT_PROGRESSBARCOLOR, DEFAULT_ROWHEADERCOLOR, DEFAULT_RULECOLOR, DEFAULT_SELECTEDCOLOR, DEFAULT_SELECTEDTEXTCOLOR, DEFAULT_SHADOWCOLOR, DEFAULT_STATUSBARCOLOR, DEFAULT_TABLECOLOR, DEFAULT_TEXTCOLOR, DEFAULT_TILE, DEFAULT_TILEX, DEFAULT_TILEY, DEFAULT_TITLETEXTCOLOR, DEFAULT_TOOLBARCOLOR, DEFAULT_TOOLTIPCOLOR, DEFAULT_TOPTABLECOLOR, DEFAULT_WORKSPACECOLOR, FRAMED_BORDER, HGAP, LEFT_MARGIN, LOWERED_BORDER, NO_BORDER, RAISED_BORDER, RIGHT_MARGIN, THICK_BORDER, THIN_BORDER, TOP_MARGIN, VGAP
 
Constructor Summary
ChiselRow(int columns, java.awt.Insets insets, ChiselRowListener listener, ChiselTable owner)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This method is invoked when an action occurs.
 void done(com.trapezium.factory.FactoryData result)
           
 ChiselDescriptor getChisel()
           
 com.trapezium.chisel.gui.ChiselController getChiselController()
           
 com.trapezium.chisel.gui.ChiselReporter getChiselReporter(int n)
           
 ChiselTable getOwner()
           
 boolean isAutomaticallyChecked()
           
 boolean isEnabled()
           
 void rowDone()
           
 void rowReady()
          replacement for the obsolete 'state'
 void rowRunning()
           
 void setAction(java.lang.String action)
           
 void setChisel(ChiselDescriptor chisel, boolean autocheck)
           
 void setEnabled(boolean enabled)
           
 void setFactoryData(com.trapezium.factory.FactoryData fd)
           
 void setFileLength(long flen)
           
 void setLinePercent(int percent)
           
 void setNumberOfLines(int n)
           
 void setPolygonCount(int n)
           
 void setText(java.lang.String s)
           
 void update(com.trapezium.factory.FactoryData result)
           
 
Methods inherited from class com.trapezium.chisel.TableRow
addToExpansion, getColumn, isCollapsed, isEmpty, isExpandible, removeFromExpansion, setCollapsed, setColumn, setColumnWidth, setExpandible
 
Methods inherited from class com.trapezium.chisel.ChiselPane
dump, empty, fileDone, fileUpdated, getProcessedFile, save, setProcessedFile
 
Methods inherited from class com.trapezium.chisel.GuiAdapter
addLayoutComponent, getComponent, getContainer, layoutContainer, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setComponent, setContainer, setStretchLast, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.trapezium.chisel.ProcessedFileViewer
getComponent
 

Field Detail

greenGray

static java.awt.Color greenGray

enabled

boolean enabled

theChisel

ChiselDescriptor theChisel

optionTable

ChiselRow.ChiselOptionTable optionTable

owner

ChiselTable owner

listener

ChiselRowListener listener

automaticallyChecked

boolean automaticallyChecked

rowNumber

int rowNumber
global row number


rowCounter

static int rowCounter

fileLength

long fileLength

optionCellInsets

static final java.awt.Insets optionCellInsets
Constructor Detail

ChiselRow

public ChiselRow(int columns,
                 java.awt.Insets insets,
                 ChiselRowListener listener,
                 ChiselTable owner)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

isAutomaticallyChecked

public boolean isAutomaticallyChecked()

setChisel

public void setChisel(ChiselDescriptor chisel,
                      boolean autocheck)

getChisel

public ChiselDescriptor getChisel()

getOwner

public ChiselTable getOwner()

getChiselController

public com.trapezium.chisel.gui.ChiselController getChiselController()

getChiselReporter

public com.trapezium.chisel.gui.ChiselReporter getChiselReporter(int n)

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)

done

public void done(com.trapezium.factory.FactoryData result)
Specified by:
done in interface com.trapezium.factory.FactoryResponseListener

rowReady

public void rowReady()
replacement for the obsolete 'state'

Specified by:
rowReady in interface RowState

rowRunning

public void rowRunning()
Specified by:
rowRunning in interface RowState

rowDone

public void rowDone()
Specified by:
rowDone in interface RowState

update

public void update(com.trapezium.factory.FactoryData result)
Specified by:
update in interface com.trapezium.factory.FactoryResponseListener

setNumberOfLines

public void setNumberOfLines(int n)
Specified by:
setNumberOfLines in interface com.trapezium.factory.FactoryResponseListener

setLinePercent

public void setLinePercent(int percent)
Specified by:
setLinePercent in interface com.trapezium.factory.FactoryResponseListener

setFileLength

public void setFileLength(long flen)

setPolygonCount

public void setPolygonCount(int n)
Specified by:
setPolygonCount in interface com.trapezium.factory.FactoryResponseListener

setText

public void setText(java.lang.String s)
Specified by:
setText in interface com.trapezium.factory.FactoryResponseListener

setAction

public void setAction(java.lang.String action)
Specified by:
setAction in interface com.trapezium.factory.FactoryResponseListener

setFactoryData

public void setFactoryData(com.trapezium.factory.FactoryData fd)
Specified by:
setFactoryData in interface com.trapezium.factory.FactoryResponseListener