|
|||||||||||
| 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
|
+--java.awt.Window
|
+--java.awt.Frame
|
+--javax.swing.JFrame
|
+--com.g11ntoolkit.xliffutil.xlfEditor.xlfTuList
XLIFF Editor TU list GUI
Note) This class is mostly generated by the Eclipse
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See License Agreement.
| Field Summary | |
private boolean |
_DBG
|
private int |
_fileCount
|
private java.util.List |
_files
|
private java.lang.String |
_font
|
private javax.swing.JPanel |
btnPanel
|
private javax.swing.JTextField |
fileCount
|
private javax.swing.JButton |
jButton
|
private javax.swing.JButton |
jButton1
|
private javax.swing.JButton |
jButton2
|
private javax.swing.JButton |
jButton3
|
private javax.swing.JButton |
jButton4
|
private javax.swing.JButton |
jButton5
|
private javax.swing.JButton |
jButton6
|
private javax.swing.JButton |
jButton7
|
private javax.swing.JPanel |
jContentPane
|
private javax.swing.JEditorPane |
jEditorPane
|
private javax.swing.JLabel |
jLabel
|
private javax.swing.JLabel |
jLabel1
|
private javax.swing.JScrollPane |
jScrollPane
|
private javax.swing.JTextField |
searchKey
|
private javax.swing.JLabel |
totalFile
|
| Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Window |
|
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
xlfTuList()
This is the default constructor |
|
xlfTuList(java.util.List nodes,
int index)
This is the default constructor with NodeList |
|
xlfTuList(org.w3c.dom.Node node)
This is the default constructor with Node |
|
| Method Summary | |
private javax.swing.JPanel |
getBtnPanel()
This method initializes jPanel |
private javax.swing.JTextField |
getFileCount()
This method initializes jTextField1 |
private javax.swing.JButton |
getJButton()
This method initializes jButton |
private javax.swing.JButton |
getJButton1()
This method initializes jButton1 |
private javax.swing.JButton |
getJButton2()
This method initializes jButton2 |
private javax.swing.JButton |
getJButton3()
This method initializes jButton3 |
private javax.swing.JButton |
getJButton4()
This method initializes jButton4 |
private javax.swing.JButton |
getJButton5()
This method initializes jButton5 |
private javax.swing.JButton |
getJButton6()
This method initializes jButton6 |
private javax.swing.JButton |
getJButton7()
This method initializes jButton7 |
private javax.swing.JPanel |
getJContentPane()
This method initializes jContentPane |
private javax.swing.JEditorPane |
getJEditorPane()
This method initializes jEditorPane |
private javax.swing.JScrollPane |
getJScrollPane()
This method initializes jScrollPane |
private javax.swing.JTextField |
getSearchKey()
This method initializes jTextField |
private void |
initialize()
This method initializes this |
protected void |
printDoc(java.lang.String string,
javax.print.DocFlavor flavor)
|
protected void |
saveDoc(java.lang.String text)
|
protected void |
searchNextAction()
|
protected void |
searchPrevAction()
|
void |
setDebugmode(boolean dbg)
Set debug mode |
void |
setI18nFont(java.lang.String font)
Set i18n font name |
void |
setPage(java.util.List nodes,
int index)
Set content DOM nodes |
void |
setPage(java.net.URL page)
Set content URL |
void |
setText(java.lang.String str)
Set content string |
protected void |
xlf2xhtml(org.w3c.dom.Node node)
Tanslform XLIFF to XHTML |
| Methods inherited from class javax.swing.JFrame |
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
| Methods inherited from class java.awt.Frame |
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.awt.Window |
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Field Detail |
private boolean _DBG
private java.util.List _files
private int _fileCount
private java.lang.String _font
private javax.swing.JPanel jContentPane
private javax.swing.JPanel btnPanel
private javax.swing.JButton jButton
private javax.swing.JButton jButton1
private javax.swing.JLabel jLabel
private javax.swing.JTextField searchKey
private javax.swing.JScrollPane jScrollPane
private javax.swing.JEditorPane jEditorPane
private javax.swing.JButton jButton2
private javax.swing.JButton jButton3
private javax.swing.JButton jButton4
private javax.swing.JButton jButton5
private javax.swing.JLabel totalFile
private javax.swing.JTextField fileCount
private javax.swing.JLabel jLabel1
private javax.swing.JButton jButton6
private javax.swing.JButton jButton7
| Constructor Detail |
public xlfTuList()
public xlfTuList(java.util.List nodes,
int index)
public xlfTuList(org.w3c.dom.Node node)
| Method Detail |
public void setDebugmode(boolean dbg)
dbg - Debug flagpublic void setText(java.lang.String str)
str - Content stringpublic void setPage(java.net.URL page)
page - Content URL
public void setPage(java.util.List nodes,
int index)
nodes - DOM nodesindex - Start index of DOM nodespublic void setI18nFont(java.lang.String font)
font - Font nameprotected void xlf2xhtml(org.w3c.dom.Node node)
node - DOM treeprivate void initialize()
private javax.swing.JPanel getJContentPane()
private javax.swing.JPanel getBtnPanel()
private javax.swing.JButton getJButton2()
private javax.swing.JButton getJButton()
private javax.swing.JButton getJButton1()
private javax.swing.JButton getJButton3()
private javax.swing.JTextField getSearchKey()
private javax.swing.JButton getJButton4()
protected void searchPrevAction()
private javax.swing.JButton getJButton5()
protected void searchNextAction()
private javax.swing.JScrollPane getJScrollPane()
private javax.swing.JEditorPane getJEditorPane()
private javax.swing.JTextField getFileCount()
private javax.swing.JButton getJButton6()
protected void saveDoc(java.lang.String text)
text - private javax.swing.JButton getJButton7()
protected void printDoc(java.lang.String string,
javax.print.DocFlavor flavor)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||