java.lang.Object
com.trapezium.chisel.GuiAdapter
com.trapezium.chisel.ChiselPane
com.trapezium.chisel.TableRow
com.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
| 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 |
| 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 |
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
ChiselRow
public ChiselRow(int columns,
java.awt.Insets insets,
ChiselRowListener listener,
ChiselTable owner)
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