StarOffice 5.2 API
reverse engineered by classdoc

stardiv.controller
Class PropertyEditor

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--stardiv.controller.PropertyEditor
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, java.io.Serializable, java.awt.event.TextListener

public synchronized class PropertyEditor
extends java.awt.Dialog
implements java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.TextListener

See Also:
Serialized Form

Field Summary
(package private) static char DELEMITER
           
(package private) static java.lang.String FILENAME
           
(package private) static java.util.Vector c_DefaultProperties
           
private static char[] hexDigit
           
(package private)  java.awt.List m_DefaultList
           
(package private)  char[] m_Delemiters
           
(package private)  java.awt.Button m_DeleteButton
           
(package private)  java.awt.TextField m_KeyInput
           
(package private)  java.awt.List m_List
           
(package private)  java.awt.Button m_OkButton
           
(package private)  java.util.Properties m_Properties
           
(package private)  java.awt.Button m_SetButton
           
(package private)  java.awt.TextField m_ValueInput
           
 
Fields inherited from class java.awt.Dialog
base, modal, nameCounter, resizable, serialVersionUID, title
 
Fields inherited from class java.awt.Window
OPENED, active, focusMgr, inputContext, state, warningString, windowListener, windowSerializedDataVersion
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, maxSize, ncomponents
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, LOCK, RIGHT_ALIGNMENT, TOP_ALIGNMENT, actionListenerK, adjustmentListenerK, background, componentListener, componentListenerK, componentSerializedDataVersion, containerListenerK, cursor, enabled, eventMask, focusListener, focusListenerK, font, foreground, height, incRate, isInc, itemListenerK, keyListener, keyListenerK, locale, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, parent, peer, popups, prefSize, textListenerK, valid, visible, width, windowListenerK, x, y
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
PropertyEditor(java.awt.Frame f)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
protected  void actualizeDelemiterArray()
           
protected  int addToList(java.awt.List l, java.lang.String s1, java.lang.String s2)
           
protected static java.lang.String convertOutToString(java.lang.String s)
           
protected static java.lang.String convertStringToOut(java.lang.String s)
           
protected  java.lang.String createListItem(java.lang.String s1, java.lang.String s2)
           
protected  java.lang.String[] getKeyValue(java.lang.String s)
           
protected static int getMaxKeyLength(java.util.Properties p)
           
protected static int hexToInt(java.lang.String s)
           
private static void initializeProperties()
           
protected static boolean isDefaultKey(java.lang.String s)
           
 void itemStateChanged(java.awt.event.ItemEvent ie)
           
protected static void loadProperties(java.util.Properties p, java.lang.String s)
           
static void main(java.lang.String[] s)
           
protected  void saveProperties()
           
protected static void saveProperties(java.util.Properties p, java.lang.String s)
           
protected  void setButtons()
           
 void setVisible(boolean b)
           
 void textValueChanged(java.awt.event.TextEvent te)
           
private static char toHex(int i)
           
protected  void updateDelemiters()
           
protected  void updateDelemiters(int i, java.awt.List l)
           
 
Methods inherited from class java.awt.Dialog
addNotify, constructComponentName, getTitle, isModal, isResizable, paramString, setModal, setResizable, setTitle, show
 
Methods inherited from class java.awt.Window
addWindowListener, dispatchEventImpl, dispose, eventEnabled, getFocusOwner, getInputContext, getLocale, getToolkit, getWarningString, handleTabEvent, isActive, isShowing, nextFocus, pack, postEvent, postProcessKeyEvent, postWindowEvent, preProcessKeyEvent, processEvent, processWindowEvent, readObject, removeWindowListener, setCursor, setFocusOwner, setWarningString, toBack, toFront, transferFocus, writeObject
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, dispatchEventToSelf, doLayout, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getCursorTarget, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, isAncestorOf, isContainingWindowActivated, layout, lightweightPrint, list, list, locate, minimumSize, paint, paintComponents, postsOldMouseEvents, preferredSize, print, printComponents, printOneComponent, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, removeNotify, setLayout, update, updateCursor, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, areInputMethodsEnabled, bounds, checkImage, checkImage, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, getBackground, getBounds, getColorModel, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getLocation, getLocationOnScreen, getName, getNativeContainer, getParent, getPeer, getSize, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, isEnabled, isFocusTraversable, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DELEMITER

static final char DELEMITER

FILENAME

static final java.lang.String FILENAME

c_DefaultProperties

static java.util.Vector c_DefaultProperties

hexDigit

private static final char[] hexDigit

m_DefaultList

java.awt.List m_DefaultList

m_Delemiters

char[] m_Delemiters

m_DeleteButton

java.awt.Button m_DeleteButton

m_KeyInput

java.awt.TextField m_KeyInput

m_List

java.awt.List m_List

m_OkButton

java.awt.Button m_OkButton

m_Properties

java.util.Properties m_Properties

m_SetButton

java.awt.Button m_SetButton

m_ValueInput

java.awt.TextField m_ValueInput
Constructor Detail

PropertyEditor

public PropertyEditor(java.awt.Frame f)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

actualizeDelemiterArray

protected void actualizeDelemiterArray()

addToList

protected int addToList(java.awt.List l,
                        java.lang.String s1,
                        java.lang.String s2)

convertOutToString

protected static java.lang.String convertOutToString(java.lang.String s)

convertStringToOut

protected static java.lang.String convertStringToOut(java.lang.String s)

createListItem

protected java.lang.String createListItem(java.lang.String s1,
                                          java.lang.String s2)

getKeyValue

protected java.lang.String[] getKeyValue(java.lang.String s)

getMaxKeyLength

protected static int getMaxKeyLength(java.util.Properties p)

hexToInt

protected static int hexToInt(java.lang.String s)

initializeProperties

private static void initializeProperties()

isDefaultKey

protected static boolean isDefaultKey(java.lang.String s)

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent ie)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

loadProperties

protected static void loadProperties(java.util.Properties p,
                                     java.lang.String s)
                              throws java.io.IOException,
                                     java.lang.ClassNotFoundException

main

public static void main(java.lang.String[] s)

saveProperties

protected void saveProperties()

saveProperties

protected static void saveProperties(java.util.Properties p,
                                     java.lang.String s)
                              throws java.io.IOException

setButtons

protected void setButtons()

setVisible

public void setVisible(boolean b)

textValueChanged

public void textValueChanged(java.awt.event.TextEvent te)
Specified by:
textValueChanged in interface java.awt.event.TextListener

toHex

private static char toHex(int i)

updateDelemiters

protected void updateDelemiters()

updateDelemiters

protected void updateDelemiters(int i,
                                java.awt.List l)

StarOffice 5.2 API
reverse engineered by classdoc