Class TableColumnAttributes
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.application.components.table.TableColumnAttributes
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- javax.swing.SwingConstants
 - Direct Known Subclasses:
- AdvancedTableColumnAttributes,- ColumnAttributes
 
 public class TableColumnAttributes extends java.lang.Object implements javax.swing.SwingConstants, java.io.SerializableThis is the base class for the different types of column attributes. It holds some of the most common types of attributes. Reflection and the AttributeMeta annotations are used by the ColumnCustomizer to edit these things visually.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intALIGN_AUTOstatic intALIGN_BOTTOMstatic intALIGN_CENTERstatic intALIGN_LEFTstatic intALIGN_RIGHTstatic intALIGN_TOPprotected java.lang.StringdateFormatprotected booleaneditableprotected booleanhiddenprotected inthorizontalAlignmentprotected java.lang.Stringlabelprotected java.lang.StringnumberFormatprotected java.lang.Stringprefixprotected booleansortableprotected java.lang.Stringsuffixprotected booleantreatAsBooleanprotected intverticalAlignment
 - 
Constructor SummaryConstructors Constructor Description TableColumnAttributes()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDateFormat()intgetHorizontalAlignment()java.lang.StringgetLabel()java.lang.StringgetNumberFormat()java.lang.StringgetPrefix()java.lang.StringgetSuffix()intgetVerticalAlignment()booleanisEditable()booleanisHidden()booleanisSortable()booleanisTreatAsBoolean()voidsetDateFormat(java.lang.String dateFormat)voidsetEditable(boolean editable)voidsetHidden(boolean hidden)voidsetHorizontalAlignment(int horizontalAlignment)voidsetLabel(java.lang.String label)voidsetNumberFormat(java.lang.String numberFormat)voidsetPrefix(java.lang.String prefix)voidsetSortable(boolean sortable)voidsetSuffix(java.lang.String suffix)voidsetTreatAsBoolean(boolean treatAsBoolean)voidsetVerticalAlignment(int verticalAlignment)
 
- 
- 
- 
Field Detail- 
ALIGN_AUTOpublic static final int ALIGN_AUTO - See Also:
- Constant Field Values
 
 - 
ALIGN_LEFTpublic static final int ALIGN_LEFT - See Also:
- Constant Field Values
 
 - 
ALIGN_RIGHTpublic static final int ALIGN_RIGHT - See Also:
- Constant Field Values
 
 - 
ALIGN_CENTERpublic static final int ALIGN_CENTER - See Also:
- Constant Field Values
 
 - 
ALIGN_BOTTOMpublic static final int ALIGN_BOTTOM - See Also:
- Constant Field Values
 
 - 
ALIGN_TOPpublic static final int ALIGN_TOP - See Also:
- Constant Field Values
 
 - 
labelprotected java.lang.String label 
 - 
hiddenprotected boolean hidden 
 - 
horizontalAlignmentprotected int horizontalAlignment 
 - 
verticalAlignmentprotected int verticalAlignment 
 - 
numberFormatprotected java.lang.String numberFormat 
 - 
dateFormatprotected java.lang.String dateFormat 
 - 
treatAsBooleanprotected boolean treatAsBoolean 
 - 
prefixprotected java.lang.String prefix 
 - 
suffixprotected java.lang.String suffix 
 - 
editableprotected boolean editable 
 - 
sortableprotected boolean sortable 
 
- 
 - 
Method Detail- 
getDateFormatpublic java.lang.String getDateFormat() 
 - 
setDateFormatpublic void setDateFormat(java.lang.String dateFormat) 
 - 
isHiddenpublic boolean isHidden() 
 - 
setHiddenpublic void setHidden(boolean hidden) 
 - 
getHorizontalAlignmentpublic int getHorizontalAlignment() 
 - 
setHorizontalAlignmentpublic void setHorizontalAlignment(int horizontalAlignment) 
 - 
getLabelpublic java.lang.String getLabel() 
 - 
setLabelpublic void setLabel(java.lang.String label) 
 - 
getNumberFormatpublic java.lang.String getNumberFormat() 
 - 
setNumberFormatpublic void setNumberFormat(java.lang.String numberFormat) 
 - 
isTreatAsBooleanpublic boolean isTreatAsBoolean() 
 - 
setTreatAsBooleanpublic void setTreatAsBoolean(boolean treatAsBoolean) 
 - 
getVerticalAlignmentpublic int getVerticalAlignment() 
 - 
setVerticalAlignmentpublic void setVerticalAlignment(int verticalAlignment) 
 - 
getPrefixpublic java.lang.String getPrefix() 
 - 
setPrefixpublic void setPrefix(java.lang.String prefix) 
 - 
getSuffixpublic java.lang.String getSuffix() 
 - 
setSuffixpublic void setSuffix(java.lang.String suffix) 
 - 
isEditablepublic boolean isEditable() 
 - 
setEditablepublic void setEditable(boolean editable) 
 - 
isSortablepublic boolean isSortable() 
 - 
setSortablepublic void setSortable(boolean sortable) 
 
- 
 
-