Class TableColumnAttributes
java.lang.Object
com.inductiveautomation.factorypmi.application.components.table.TableColumnAttributes
- All Implemented Interfaces:
Serializable
,SwingConstants
- Direct Known Subclasses:
AdvancedTableColumnAttributes
,ColumnAttributes
This 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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
protected String
protected boolean
protected boolean
protected int
protected String
protected String
protected String
protected boolean
protected String
protected boolean
protected int
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getLabel()
int
boolean
boolean
isHidden()
boolean
boolean
void
setDateFormat
(String dateFormat) void
setEditable
(boolean editable) void
setHidden
(boolean hidden) void
setHorizontalAlignment
(int horizontalAlignment) void
void
setNumberFormat
(String numberFormat) void
void
setSortable
(boolean sortable) void
void
setTreatAsBoolean
(boolean treatAsBoolean) void
setVerticalAlignment
(int verticalAlignment)
-
Field Details
-
ALIGN_AUTO
public static final int ALIGN_AUTO- See Also:
-
ALIGN_LEFT
public static final int ALIGN_LEFT- See Also:
-
ALIGN_RIGHT
public static final int ALIGN_RIGHT- See Also:
-
ALIGN_CENTER
public static final int ALIGN_CENTER- See Also:
-
ALIGN_BOTTOM
public static final int ALIGN_BOTTOM- See Also:
-
ALIGN_TOP
public static final int ALIGN_TOP- See Also:
-
label
-
horizontalAlignment
protected int horizontalAlignment -
verticalAlignment
protected int verticalAlignment -
numberFormat
-
dateFormat
-
treatAsBoolean
protected boolean treatAsBoolean -
prefix
-
suffix
-
editable
protected boolean editable -
sortable
protected boolean sortable
-
-
Constructor Details
-
TableColumnAttributes
public TableColumnAttributes()
-
-
Method Details
-
getDateFormat
-
setDateFormat
-
isHidden
public boolean isHidden() -
setHidden
public void setHidden(boolean hidden) -
getHorizontalAlignment
public int getHorizontalAlignment() -
setHorizontalAlignment
public void setHorizontalAlignment(int horizontalAlignment) -
getLabel
-
setLabel
-
getNumberFormat
-
setNumberFormat
-
isTreatAsBoolean
public boolean isTreatAsBoolean() -
setTreatAsBoolean
public void setTreatAsBoolean(boolean treatAsBoolean) -
getVerticalAlignment
public int getVerticalAlignment() -
setVerticalAlignment
public void setVerticalAlignment(int verticalAlignment) -
getPrefix
-
setPrefix
-
getSuffix
-
setSuffix
-
isEditable
public boolean isEditable() -
setEditable
public void setEditable(boolean editable) -
isSortable
public boolean isSortable() -
setSortable
public void setSortable(boolean sortable)
-