|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.text.JTextComponent | +--javax.swing.JEditorPane | +--planetj.gui.CMEditorPaneJ
Provides I18N functionality in addition to all swing features.
Field Summary |
Fields inherited from class javax.swing.text.JTextComponent |
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
CMEditorPaneJ()
CMEditorPaneJ constructor comment. |
|
CMEditorPaneJ(String url)
CMEditorPaneJ constructor comment. |
|
CMEditorPaneJ(URL initialPage)
CMEditorPaneJ constructor comment. |
Method Summary | |
String |
getTranslation()
Gets the translated String. |
String |
getTranslationId()
Gets the key of the translated String. |
void |
setText(String key)
Overrides the superclass to set the key for the translated String. |
void |
setTranslation(String newTranslation)
Sets the String without translating it. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CMEditorPaneJ()
public CMEditorPaneJ(String url) throws IOException
url
- java.lang.String
IOException
- The exception description.public CMEditorPaneJ(URL initialPage) throws IOException
initialPage
- java.net.URL
IOException
- The exception description.Method Detail |
public String getTranslation()
public String getTranslationId()
public void setText(String key)
setText
in class JEditorPane
public void setTranslation(String newTranslation)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |