net.sf.jzeno.echo.editor
Class ServerFileNameEditor

java.lang.Object
  extended by nextapp.echo.AbstractComponent
      extended by net.sf.jzeno.echo.components.CustomComponent
          extended by net.sf.jzeno.echo.editor.ServerFileNameEditor
All Implemented Interfaces:
java.io.Serializable, BindingTarget, PropertyComponent, RebindableComponent, EventSink, EventSource, Precreation, Component, FastComponent, FastComponentContainer

public class ServerFileNameEditor
extends CustomComponent
implements Precreation

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface nextapp.echo.Component
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, SELECTABLE_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
Constructor Summary
ServerFileNameEditor()
           
ServerFileNameEditor(java.lang.Class beanClass, java.lang.String propertyPath, java.lang.String constructionHints)
           
 
Method Summary
 void applyContext()
           
 void enter()
           
 java.lang.String getFileName()
           
 java.lang.String getInvalidMessage()
           
 java.lang.String getSelectedFileOrFolder()
           
 java.lang.String getSelectedPlace()
           
 int getWidth()
           Gets the width of the text field.
 int getWidthUnits()
           Gets the units in which width is specified.
 boolean isRequired()
           Query if the editor is required to be filled in.
 boolean isShowFiles()
           
 boolean isShowHiddenFiles()
           
 void selectCurrent()
           
 void selectFileOrFolder()
           
 void selectPlace()
           
 void setColumns(int columns)
          Deprecated.  
 void setFileName(java.lang.String fileName)
           
 void setInvalidMessage(java.lang.String invalidMessage)
           
 void setRequired(boolean required)
           Determine if the editor is required to be filled in.
 void setSelectedFileOrFolder(java.lang.String selectedFileOrFolder)
           
 void setSelectedPlace(java.lang.String selectedPlace)
           
 void setShowFiles(boolean showFiles)
           
 void setShowHiddenFiles(boolean showHiddenFiles)
           
 void setWidth(int width)
           Sets the width of the text field.
 void setWidthUnits(int units)
           Sets the units in which width is specified.
 
Methods inherited from class net.sf.jzeno.echo.components.CustomComponent
addValidator, fireActionEvent, fireActionEvent, fireActionEvent, getActionCommand, getBean, getBeanClass, getDecorator, getNullObject, getProperty, getValidationErrors, getValidators, getValue, isBound, isMarkedInvalid, isReadOnly, isValid, markInvalid, markValid, preRender, rebind, removeValidator, setActionCommand, setBean, setBeanClass, setDecorator, setNullObject, setProperty, setReadOnly, setValue, traceValue, validate
 
Methods inherited from class nextapp.echo.AbstractComponent
add, add, addHierarchyListener, addPropertyChangeListener, applyStyle, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getClientId, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getListenerList, getLocale, getParent, indexOf, init, isAncestorOf, isDifferent, isEnabled, isFocused, isRecursivelyVisible, isRegistered, isSelectableForScriptRecorder, isShowing, isVisible, processHierarchyEvent, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setClientId, setEnabled, setFocused, setFont, setForeground, setIdentifier, setLocale, setParent, setRegistered, setSelectableForScriptRecorder, setVisible, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerFileNameEditor

public ServerFileNameEditor()

ServerFileNameEditor

public ServerFileNameEditor(java.lang.Class beanClass,
                            java.lang.String propertyPath,
                            java.lang.String constructionHints)
Method Detail

selectCurrent

public void selectCurrent()

selectPlace

public void selectPlace()

selectFileOrFolder

public void selectFileOrFolder()

enter

public void enter()

setFileName

public void setFileName(java.lang.String fileName)

getFileName

public java.lang.String getFileName()

getSelectedFileOrFolder

public java.lang.String getSelectedFileOrFolder()

setSelectedFileOrFolder

public void setSelectedFileOrFolder(java.lang.String selectedFileOrFolder)

getSelectedPlace

public java.lang.String getSelectedPlace()

setSelectedPlace

public void setSelectedPlace(java.lang.String selectedPlace)

setRequired

public void setRequired(boolean required)
Description copied from interface: PropertyComponent

Determine if the editor is required to be filled in.

Specified by:
setRequired in interface PropertyComponent
Overrides:
setRequired in class CustomComponent

isRequired

public boolean isRequired()
Description copied from interface: PropertyComponent

Query if the editor is required to be filled in.

Specified by:
isRequired in interface PropertyComponent
Overrides:
isRequired in class CustomComponent

isShowHiddenFiles

public boolean isShowHiddenFiles()

setShowHiddenFiles

public void setShowHiddenFiles(boolean showHiddenFiles)

isShowFiles

public boolean isShowFiles()

setShowFiles

public void setShowFiles(boolean showFiles)

setInvalidMessage

public void setInvalidMessage(java.lang.String invalidMessage)

getInvalidMessage

public java.lang.String getInvalidMessage()

setColumns

public void setColumns(int columns)
Deprecated. 

Sets the width of the input field. Specified in characters on screen.


setWidth

public void setWidth(int width)

Sets the width of the text field.


getWidth

public int getWidth()

Gets the width of the text field.


setWidthUnits

public void setWidthUnits(int units)

Sets the units in which width is specified.


getWidthUnits

public int getWidthUnits()

Gets the units in which width is specified.


applyContext

public void applyContext()
Specified by:
applyContext in interface Precreation