com.ibm.richtext.textpanel |
TextPanel Package Overview
Provides components (for both AWT and Swing) in which styled text is displayed
and edited, and related classes.
|
Java Source File Name | Type | Comment |
ArabicTransliteration.java | Class | This class implements KeyRemap to produce transliterated Arabic
characters from Latin-1 characters. |
ATextPanelImpl.java | Class | Implementation class for TextPanel and JTextPanel. |
Behavior.java | Class | A class that handles events for a BehaviorOwner.
A behavior enacpsulates some piece of the event-handling logic for a component.
This allows the client to separate event-handling logic out into separate classes
according to function, or to dynamically change the way a component handles
events without adding a lot of special-case code to the panel itself.
Behaviors are stored in a linked list, and all behaviors get a crack at an event before
the owner gets a crack at them (right now, we rely on objects that implement
BehaviorOwner to support these semantics).
Behavior provides all the same event-handling functions that Component provides, and
they all have exactly the same syntax and semantics. |
BehaviorOwner.java | Interface | |
Command.java | Class | |
FakeComponent.java | Class | |
HackArabicTransliteration.java | Class | This class implements KeyRemap to produce transliterated Arabic
characters from Latin-1 characters. |
HebrewTransliteration.java | Class | This class implements KeyRemap to produce transliterated Hebrew
characters from Latin-1 characters. |
IsraelNikudKeyboard.java | Class | This class simulates a Nikud keyboard on a US-English
keyboard. |
JTextPanel.java | Class | JTextPanel is an implementation of MTextPanel in a Swing JPanel. |
KeyEventForwarder.java | Class | This class forwards key events to a TextPanel component for
testing purposes.
Its sole reason for existence is to prevent the key-event
API from being public on MTextPanel, and being mistaken for
standard API. |
KeyRemap.java | Class | KeyRemap maps keys on a standard US keyboard to characters
in other alphabets. |
MTextPanel.java | Interface | MTextPanel is implemented by Components which provide selectable
editable styled text.
Implementations of MTextPanel provide a simple, standard user interface
for text editing. |
OffscreenBufferCache.java | Class | |
PanelEventBroadcaster.java | Class | This class listens for text state change notifications
and broadcasts them to all of its listeners. |
RunStrategy.java | Class | |
ScrollBarLayout.java | Class | |
Scroller.java | Class | This class manages the interaction between a scrollable client
and vertical and horizontal scrollbars. |
SelectionDragInteractor.java | Class | |
SimpleCommandLog.java | Class | |
StyleChangeCommand.java | Class | |
StyledTextClipboard.java | Class | Wrapper for java.awt.datatransfer.Clipboard
Packages an MConstText in a transferable, and puts it on the clipboard. |
TextChangeCommand.java | Class | |
TextCommand.java | Class | |
TextComponent.java | Class | |
TextEditBehavior.java | Class | |
TextPanel.java | Class | TextPanel is an implementation of MTextPanel in an AWT Panel. |
TextPanelEvent.java | Class | TextPanelEvent is generated by an MTextPanel to notify listeners
of changes. |
TextPanelListener.java | Interface | This interface is implemented by classes which
receive change notifications from an MTextPanel. |
TextPanelSettings.java | Class | This class contains settings used when constructing an MTextPanel.
The settings controled by this class include:
- whether the text in the MTextPanel can be scrolled
- whether scroll bars in the MTextPanel are visible
- whether the text in the MTextPanel can be selected
- whether the text in the MTextPanel can be edited
- whether lines of text wrap to the MTextPanel's width, or
only end at paragraph separators
- the default values for unspecified styles
Some settings are dependent on others. |
TextRange.java | Class | A TextRange represents a range of text bounded by a
start (inclusive), and a limit (exclusive). |
TextReplacement.java | Class | This class is used to pass a REPLACE command to Behaviors. |
TextSelection.java | Class | |
ThaiKeyRemap.java | Class | |
TransferableText.java | Class | This class allows MConstText instances to be the contents
of a Clipboard. |
TypingInteractor.java | Class | |