com.g11ntoolkit.xliffutil.xlfEditor
Class xlfTuList

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--javax.swing.JFrame
                                |
                                +--com.g11ntoolkit.xliffutil.xlfEditor.xlfTuList
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class xlfTuList
extends javax.swing.JFrame

XLIFF Editor TU list GUI
Note) This class is mostly generated by the Eclipse

Version:
$Revision: 1.8 $ $Date: 2005/08/12 00:04:09 $
Copyright © 2005, webMethods, Inc. All rights reserved.

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.

Author:
Masahiko Mori
See Also:
javax.swing , Serialized Form

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

_DBG

private boolean _DBG

_files

private java.util.List _files

_fileCount

private int _fileCount

_font

private java.lang.String _font

jContentPane

private javax.swing.JPanel jContentPane

btnPanel

private javax.swing.JPanel btnPanel

jButton

private javax.swing.JButton jButton

jButton1

private javax.swing.JButton jButton1

jLabel

private javax.swing.JLabel jLabel

searchKey

private javax.swing.JTextField searchKey

jScrollPane

private javax.swing.JScrollPane jScrollPane

jEditorPane

private javax.swing.JEditorPane jEditorPane

jButton2

private javax.swing.JButton jButton2

jButton3

private javax.swing.JButton jButton3

jButton4

private javax.swing.JButton jButton4

jButton5

private javax.swing.JButton jButton5

totalFile

private javax.swing.JLabel totalFile

fileCount

private javax.swing.JTextField fileCount

jLabel1

private javax.swing.JLabel jLabel1

jButton6

private javax.swing.JButton jButton6

jButton7

private javax.swing.JButton jButton7
Constructor Detail

xlfTuList

public xlfTuList()
This is the default constructor


xlfTuList

public xlfTuList(java.util.List nodes,
                 int index)
This is the default constructor with NodeList


xlfTuList

public xlfTuList(org.w3c.dom.Node node)
This is the default constructor with Node

Method Detail

setDebugmode

public void setDebugmode(boolean dbg)
Set debug mode

Parameters:
dbg - Debug flag

setText

public void setText(java.lang.String str)
Set content string

Parameters:
str - Content string

setPage

public void setPage(java.net.URL page)
Set content URL

Parameters:
page - Content URL

setPage

public void setPage(java.util.List nodes,
                    int index)
Set content DOM nodes

Parameters:
nodes - DOM nodes
index - Start index of DOM nodes

setI18nFont

public void setI18nFont(java.lang.String font)
Set i18n font name

Parameters:
font - Font name

xlf2xhtml

protected void xlf2xhtml(org.w3c.dom.Node node)
Tanslform XLIFF to XHTML

Parameters:
node - DOM tree

initialize

private void initialize()
This method initializes this

Returns:
void

getJContentPane

private javax.swing.JPanel getJContentPane()
This method initializes jContentPane

Returns:
javax.swing.JPanel

getBtnPanel

private javax.swing.JPanel getBtnPanel()
This method initializes jPanel

Returns:
javax.swing.JPanel

getJButton2

private javax.swing.JButton getJButton2()
This method initializes jButton2

Returns:
javax.swing.JButton

getJButton

private javax.swing.JButton getJButton()
This method initializes jButton

Returns:
javax.swing.JButton

getJButton1

private javax.swing.JButton getJButton1()
This method initializes jButton1

Returns:
javax.swing.JButton

getJButton3

private javax.swing.JButton getJButton3()
This method initializes jButton3

Returns:
javax.swing.JButton

getSearchKey

private javax.swing.JTextField getSearchKey()
This method initializes jTextField

Returns:
javax.swing.JTextField

getJButton4

private javax.swing.JButton getJButton4()
This method initializes jButton4

Returns:
javax.swing.JButton

searchPrevAction

protected void searchPrevAction()

getJButton5

private javax.swing.JButton getJButton5()
This method initializes jButton5

Returns:
javax.swing.JButton

searchNextAction

protected void searchNextAction()

getJScrollPane

private javax.swing.JScrollPane getJScrollPane()
This method initializes jScrollPane

Returns:
javax.swing.JScrollPane

getJEditorPane

private javax.swing.JEditorPane getJEditorPane()
This method initializes jEditorPane

Returns:
javax.swing.JEditorPane

getFileCount

private javax.swing.JTextField getFileCount()
This method initializes jTextField1

Returns:
javax.swing.JTextField

getJButton6

private javax.swing.JButton getJButton6()
This method initializes jButton6

Returns:
javax.swing.JButton

saveDoc

protected void saveDoc(java.lang.String text)
Parameters:
text -

getJButton7

private javax.swing.JButton getJButton7()
This method initializes jButton7

Returns:
javax.swing.JButton

printDoc

protected void printDoc(java.lang.String string,
                        javax.print.DocFlavor flavor)