ch.sahits.game.graphic.layout
Class AbstractEditableSahitsComponent<T>
java.lang.Object
ch.sahits.game.graphic.layout.AbstractSahitsComponent
ch.sahits.game.graphic.layout.AbstractEditableSahitsComponent<T>
- Type Parameters:
T - type of the value
- All Implemented Interfaces:
- ISahitsComponent
- Direct Known Subclasses:
- TextInput
public abstract class AbstractEditableSahitsComponent<T>
- extends AbstractSahitsComponent
Component that can hold a single value that can be edited.
- Author:
- Andi Hotz, (c) Sahits GmbH, 2011
Created on Jun 6, 2011
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
private T value
font
private Font font
AbstractEditableSahitsComponent
public AbstractEditableSahitsComponent()
getValue
public T getValue()
setValue
public void setValue(T value)
getFont
public Font getFont()
- Description copied from interface:
ISahitsComponent
- Retrieve the font
- Returns:
setFont
public void setFont(Font font)
- Description copied from interface:
ISahitsComponent
- Set the font
Copyright © 2011 Sahits GmbH. All Rights Reserved.