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 Summary
Fields 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 Summary
Constructors Constructor Description TableColumnAttributes()
-
Method Summary
All 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_AUTO
public static final int ALIGN_AUTO
- See Also:
- Constant Field Values
-
ALIGN_LEFT
public static final int ALIGN_LEFT
- See Also:
- Constant Field Values
-
ALIGN_RIGHT
public static final int ALIGN_RIGHT
- See Also:
- Constant Field Values
-
ALIGN_CENTER
public static final int ALIGN_CENTER
- See Also:
- Constant Field Values
-
ALIGN_BOTTOM
public static final int ALIGN_BOTTOM
- See Also:
- Constant Field Values
-
ALIGN_TOP
public static final int ALIGN_TOP
- See Also:
- Constant Field Values
-
label
protected java.lang.String label
-
hidden
protected boolean hidden
-
horizontalAlignment
protected int horizontalAlignment
-
verticalAlignment
protected int verticalAlignment
-
numberFormat
protected java.lang.String numberFormat
-
dateFormat
protected java.lang.String dateFormat
-
treatAsBoolean
protected boolean treatAsBoolean
-
prefix
protected java.lang.String prefix
-
suffix
protected java.lang.String suffix
-
editable
protected boolean editable
-
sortable
protected boolean sortable
-
-
Method Detail
-
getDateFormat
public java.lang.String getDateFormat()
-
setDateFormat
public void setDateFormat(java.lang.String dateFormat)
-
isHidden
public boolean isHidden()
-
setHidden
public void setHidden(boolean hidden)
-
getHorizontalAlignment
public int getHorizontalAlignment()
-
setHorizontalAlignment
public void setHorizontalAlignment(int horizontalAlignment)
-
getLabel
public java.lang.String getLabel()
-
setLabel
public void setLabel(java.lang.String label)
-
getNumberFormat
public java.lang.String getNumberFormat()
-
setNumberFormat
public void setNumberFormat(java.lang.String numberFormat)
-
isTreatAsBoolean
public boolean isTreatAsBoolean()
-
setTreatAsBoolean
public void setTreatAsBoolean(boolean treatAsBoolean)
-
getVerticalAlignment
public int getVerticalAlignment()
-
setVerticalAlignment
public void setVerticalAlignment(int verticalAlignment)
-
getPrefix
public java.lang.String getPrefix()
-
setPrefix
public void setPrefix(java.lang.String prefix)
-
getSuffix
public java.lang.String getSuffix()
-
setSuffix
public void setSuffix(java.lang.String suffix)
-
isEditable
public boolean isEditable()
-
setEditable
public void setEditable(boolean editable)
-
isSortable
public boolean isSortable()
-
setSortable
public void setSortable(boolean sortable)
-
-