Package gg.xp.xivsupport.gui.tables
Class StandardColumns
java.lang.Object
gg.xp.xivsupport.gui.tables.StandardColumns
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic TableCellRenderer
static final CustomColumn<XivCombatant>
static final CustomColumn<XivCombatant>
static final CustomColumn<XivEntity>
static final CustomColumn<Map.Entry<Field,
Object>> static final CustomColumn<Map.Entry<Field,
Object>> static final CustomColumn<Map.Entry<Field,
Object>> static final CustomColumn<Map.Entry<Field,
Object>> static final CustomColumn<XivCombatant>
static final CustomColumn<Map.Entry<Field,
Object>> static final CustomColumn<XivPlayerCharacter>
static final CustomColumn<XivCombatant>
static final CustomColumn<XivCombatant>
static final CustomColumn<XivCombatant>
static final CustomColumn<XivCombatant>
-
Constructor Summary
ConstructorDescriptionStandardColumns
(org.picocontainer.PicoContainer container, PersistenceProvider persist, StatusEffectRepository statuses, SequenceIdTracker sqidTracker) -
Method Summary
Modifier and TypeMethodDescriptionstatic <X> CustomColumn<X>
booleanSettingColumn
(String name, Function<X, BooleanSetting> settingGetter, int width, @Nullable BooleanSetting enabledBy) static <X,
Y> TableCellEditor customStringEditor
(BiConsumer<X, Y> writer, Function<Y, String> formatter, Function<String, Y> parser) static <X> TableCellEditor
doubleEditorEmptyToNull
(BiConsumer<X, Double> writer) static <X> TableCellEditor
doubleEditorNonNull
(BiConsumer<X, Double> writer) static <X> CustomColumn<X>
doubleSettingBoxColumn
(String name, Function<X, DoubleSetting> settingGetter, int prefWidth) static <X> CustomColumn<X>
doubleSettingSliderColumn
(String name, Function<X, DoubleSetting> settingGetter, int displayWidth, double increment) static CustomColumn<XivCombatant>
hpColumnWithUnresolved
(Function<XivCombatant, Long> pendingDamageFunc) static <X> TableCellEditor
intEditorNonNull
(BiConsumer<X, Integer> writer) static <X> TableCellEditor
longEditorNonNull
(BiConsumer<X, Long> writer) static <X> CustomColumn<X>
longSettingBoxColumn
(String name, Function<X, LongSetting> settingGetter, int prefWidth) static <X> TableCellEditor
regexEditorEmptyToNull
(BiConsumer<X, @Nullable Pattern> writer) static <X> TableCellEditor
regexEditorEmptyToNull
(BiConsumer<X, @Nullable Pattern> writer, int flags) static CustomColumn<XivCombatant>
sortedStatusEffectsColumn
(Function<XivEntity, List<BuffApplied>> buffGetter) static CustomColumn<XivCombatant>
statusEffectsColumn
(Function<XivEntity, List<BuffApplied>> buffGetter) static <X> TableCellEditor
stringEditorEmptyToNull
(BiConsumer<X, @Nullable String> writer) static <X> TableCellEditor
stringEditorNonNull
(BiConsumer<X, String> writer) static <X> TableCellEditor
urlEditorEmptyToNull
(BiConsumer<X, @Nullable URL> writer)
-
Field Details
-
entityIdColumn
-
nameJobColumn
-
jobOnlyColumn
-
parentNameJobColumn
-
hpColumn
-
mpColumn
-
combatantTypeColumn
-
combatantRawTypeColumn
-
posColumn
-
fieldName
-
fieldValue
-
identity
-
fieldType
-
fieldDeclaredIn
-
checkboxRenderer
-
-
Constructor Details
-
StandardColumns
public StandardColumns(org.picocontainer.PicoContainer container, PersistenceProvider persist, StatusEffectRepository statuses, SequenceIdTracker sqidTracker)
-
-
Method Details
-
statusEffectsColumn
public static CustomColumn<XivCombatant> statusEffectsColumn(Function<XivEntity, List<BuffApplied>> buffGetter) -
sortedStatusEffectsColumn
public static CustomColumn<XivCombatant> sortedStatusEffectsColumn(Function<XivEntity, List<BuffApplied>> buffGetter) -
statusEffectsColumn
-
hpColumnWithUnresolved
-
hpColumnWithUnresolved
public static CustomColumn<XivCombatant> hpColumnWithUnresolved(Function<XivCombatant, Long> pendingDamageFunc) -
booleanSettingColumn
public static <X> CustomColumn<X> booleanSettingColumn(String name, Function<X, BooleanSetting> settingGetter, int width, @Nullable @Nullable BooleanSetting enabledBy) -
doubleSettingSliderColumn
public static <X> CustomColumn<X> doubleSettingSliderColumn(String name, Function<X, DoubleSetting> settingGetter, int displayWidth, double increment) -
doubleSettingBoxColumn
public static <X> CustomColumn<X> doubleSettingBoxColumn(String name, Function<X, DoubleSetting> settingGetter, int prefWidth) -
longSettingBoxColumn
public static <X> CustomColumn<X> longSettingBoxColumn(String name, Function<X, LongSetting> settingGetter, int prefWidth) -
doubleEditorEmptyToNull
-
doubleEditorNonNull
-
intEditorNonNull
-
longEditorNonNull
-
stringEditorNonNull
-
stringEditorEmptyToNull
-
urlEditorEmptyToNull
-
customStringEditor
public static <X,Y> TableCellEditor customStringEditor(BiConsumer<X, Y> writer, Function<Y, String> formatter, Function<String, Y> parser) -
regexEditorEmptyToNull
-
regexEditorEmptyToNull
public static <X> TableCellEditor regexEditorEmptyToNull(BiConsumer<X, @Nullable Pattern> writer, int flags) -
getShowPredictedHp
-