|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.gtk.event.GtkEvent
org.gnu.gnomevte.event.CharacterSizeChangedEvent
org.gnome.vte
public class CharacterSizeChangedEvent
An event representing an action by a Terminal
widget.
This event is fired every time that the character size changed.
This normally happens after changing the terminal's font.
Nested Class Summary | |
---|---|
static class |
CharacterSizeChangedEvent.Type
Deprecated. Type of a TerminalCharacterSizeChangedEvent. |
Field Summary |
---|
Fields inherited from class org.gnu.gtk.event.GtkEvent |
---|
source, type |
Constructor Summary | |
---|---|
CharacterSizeChangedEvent(java.lang.Object source,
org.gnu.glib.EventType type,
int characterWidth,
int characterHeight)
Deprecated. Constructor for TerminalCharacterSizeChangedEvent. |
Method Summary | |
---|---|
int |
getCharacterHeight()
Deprecated. Gets the new character cell height. |
int |
getCharacterWidth()
Deprecated. Gets the new character cell width. |
boolean |
isOfType(CharacterSizeChangedEvent.Type aType)
Deprecated. This method compares the type of the current event to the one provided as an argument. |
Methods inherited from class org.gnu.gtk.event.GtkEvent |
---|
getSource, getType, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CharacterSizeChangedEvent(java.lang.Object source, org.gnu.glib.EventType type, int characterWidth, int characterHeight)
source
- the source of the event.type
- the event type.characterWidth
- the new character cell width.characterHeight
- the new character cell height.Method Detail |
---|
public boolean isOfType(CharacterSizeChangedEvent.Type aType)
aType
- the type to compare to.
true
if the events are of same type.public int getCharacterWidth()
public int getCharacterHeight()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |