This Gist contains a few of the TableCell and ListCells with factories I have written for JavaFX.
column.setCellFactory(
column -> new DatePickerTableCell<Person>(
DateTimeFormatter.ofLocalizedDate(FormatStyle.MEDIUM)));
# ignore tests | |
tests/ export-ignore |
/* | |
* Copyright (c) 2009-2016 jMonkeyEngine | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are | |
* met: | |
* | |
* * Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. |
#!/bin/sh | |
# | |
# GIT Repository update script by Sebastian Teumert | |
# | |
# Stashes local changes, checks out specified branch, pulls branch from origin | |
# and pushes to upstream. | |
# | |
# Used to keep forks synced with their origin | |
# | |
# When no argument is specified, this script works in pwd, works on the 'master'- |
#!/bin/bash | |
for dir in ~/git/com.woltlab.wcf.*/ | |
do | |
test -e ${dir}files && cp -r -s --remove-destination ${dir}files/* ./wcf/ | |
test -e ${dir}templates && cp -r -s --remove-destination ${dir}templates/* ./wcf/templates/ | |
test -e ${dir}acptemplates && cp -r -s --remove-destination ${dir}acptemplates/* ./wcf/acp/templates/ | |
done | |
wcffiles="~/git/WCF/wcfsetup/install/files/" |
#!/bin/bash | |
# | |
# Build script for WoltLab Community Framework (WCF) packages | |
# by Sebastian Teumert (http://www.teumert.net, http://github.com/NetzwergX) | |
# clear | |
if ls *.tar > /dev/null 2>&1 | |
then | |
rm *.tar | |
fi |
.var { | |
text-align: right; | |
} | |
.foo { | |
content: "a"; | |
} | |
.foo:before { | |
color: green; | |
} | |
.foo:before { |
/* | |
* written by Sebastian Teumert in 2016. | |
* Released into Public Domain. No Rights Reserved. | |
*/ | |
#include "stdafx.h" | |
#include <string> | |
#include<map> | |
#include<vector> |
/* | |
* Copyright (c) 2016 Sebastian Teumert (<http://teumert.net>) | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |