class NumericText extends TextField {
	/**
	 * @return Generic number, {@code null} if text does not represent any number format.
	 */
	public Number get() {<FILL_FUNCTION_BODY>}
}

		String text = getText();
		// Normal int
		if(text.matches("-?\\d+"))
			return Integer.parseInt(text);
		// Double
		else if(text.matches("-?\\d+\\.?\\d*[dD]?")) {
			if(text.toLowerCase().contains("d"))
				return Double.parseDouble(text.substring(0, text.length() - 1));
			else
				return Double.parseDouble(text);
		}
		// Float
		else if(text.matches("-?\\d+\\.?\\d*[fF]"))
			return Float.parseFloat(text.substring(0, text.length() - 1));
		// Long
		else if(text.matches("-?\\d+\\.?\\d*[lL]"))
			return Long.parseLong(text.substring(0, text.length() - 1));
		// Hex int
		else if(text.matches("-?0x\\d+"))
			return (int) Long.parseLong(text.replace("0x", ""), 16);
		// Hex long
		else if(text.matches("-?0x\\d+[lL]"))
			return Long.parseLong(text.substring(0, text.length() - 1).replace("0x", ""), 16);
		return null;
	
<methods>public void <init>() ,public void <init>(java.lang.String) ,public final javafx.geometry.Pos getAlignment() ,public java.lang.CharSequence getCharacters() ,public static List<CssMetaData<? extends javafx.css.Styleable,?>> getClassCssMetaData() ,public List<CssMetaData<? extends javafx.css.Styleable,?>> getControlCssMetaData() ,public final EventHandler<javafx.event.ActionEvent> getOnAction() ,public final int getPrefColumnCount() ,public final ObjectProperty<EventHandler<javafx.event.ActionEvent>> onActionProperty() ,public final void setAlignment(javafx.geometry.Pos) ,public final void setOnAction(EventHandler<javafx.event.ActionEvent>) ,public final void setPrefColumnCount(int) <variables>public static final int DEFAULT_PREF_COLUMN_COUNT,private ObjectProperty<javafx.geometry.Pos> alignment,private ObjectProperty<EventHandler<javafx.event.ActionEvent>> onAction,private javafx.beans.property.IntegerProperty prefColumnCount