| java.lang.Object org.millstone.base.ui.AbstractComponent org.millstone.base.ui.Upload
All known Subclasses: org.millstone.examples.features.FeatureUpload,
Inner Class :public interface Receiver | |
Inner Class :public class FailedEvent extends FinishedEvent | |
Inner Class :public class SucceededEvent extends FinishedEvent | |
Inner Class :public interface FinishedListener | |
Inner Class :public interface FailedListener | |
Inner Class :public interface SucceededListener | |
Constructor Summary | |
public | Upload(String caption, Receiver uploadReceiver) Creates a new instance of Upload that redirects the
uploaded data to given stream. |
Upload | public Upload(String caption, Receiver uploadReceiver)(Code) | | Creates a new instance of Upload that redirects the
uploaded data to given stream.
|
addListener | public void addListener(FinishedListener listener)(Code) | | Add upload received event listener
Parameters: listener - Listener to be added. |
addListener | public void addListener(FailedListener listener)(Code) | | Add upload interrupted event listener
Parameters: listener - Listener to be added. |
addListener | public void addListener(SucceededListener listener)(Code) | | Add upload success event listener
Parameters: listener - Listener to be added. |
changeVariables | public void changeVariables(Object source, Map variables)(Code) | | Invoked when the value of a variable has changed.
|
fireUploadInterrupted | protected void fireUploadInterrupted(String filename, String MIMEType, long length)(Code) | | Emit upload interrupted event.
|
fireUploadReceived | protected void fireUploadReceived(String filename, String MIMEType, long length)(Code) | | Emit upload received event.
|
fireUploadSuccess | protected void fireUploadSuccess(String filename, String MIMEType, long length)(Code) | | Emit upload success event.
|
focus | public void focus()(Code) | | See Also: org.millstone.base.ui.Component.Focusable.focus |
getFocusableId | public long getFocusableId()(Code) | | See Also: org.millstone.base.ui.Component.Focusable.getFocusableId |
getReceiver | public Receiver getReceiver()(Code) | | Returns the current receiver.
Receiver |
getTabIndex | public int getTabIndex()(Code) | | See Also: org.millstone.base.ui.Component.Focusable.getTabIndex |
getTag | public String getTag()(Code) | | Get component type.
Component type as string. |
paintContent | public void paintContent(PaintTarget target) throws PaintException(Code) | | Paint the content of this component.
Parameters: target - Target to paint the content on. throws: PaintException - The paint operation failed. |
removeListener | public void removeListener(FinishedListener listener)(Code) | | Remove upload received event listener
Parameters: listener - Listener to be removed. |
removeListener | public void removeListener(FailedListener listener)(Code) | | Remove upload interrupted event listener
Parameters: listener - Listener to be removed. |
removeListener | public void removeListener(SucceededListener listener)(Code) | | Remove upload success event listener
Parameters: listener - Listener to be removed. |
setReceiver | public void setReceiver(Receiver receiver)(Code) | | Sets the receiver.
Parameters: receiver - The receiver to set |
setTabIndex | public void setTabIndex(int tabIndex)(Code) | | See Also: org.millstone.base.ui.Component.Focusable.setTabIndex(int) |
Methods inherited from org.millstone.base.ui.AbstractComponent | public void addListener(RepaintRequestListener listener)(Code)(Java Doc) public void addListener(Class eventType, Object object, Method method)(Code)(Java Doc) public void addListener(Class eventType, Object object, String methodName)(Code)(Java Doc) public void addListener(Component.Listener listener)(Code)(Java Doc) public void attach()(Code)(Java Doc) public void changeVariables(Object source, Map variables)(Code)(Java Doc) public void childRequestedRepaint(Collection alreadyNotified)(Code)(Java Doc) public void dependsOn(VariableOwner depended)(Code)(Java Doc) public void detach()(Code)(Java Doc) protected void fireComponentErrorEvent()(Code)(Java Doc) protected void fireComponentEvent()(Code)(Java Doc) protected void fireEvent(Component.Event event)(Code)(Java Doc) public Application getApplication()(Code)(Java Doc) public String getCaption()(Code)(Java Doc) public ErrorMessage getComponentError()(Code)(Java Doc) public Object getData()(Code)(Java Doc) public String getDescription()(Code)(Java Doc) public Set getDirectDependencies()(Code)(Java Doc) public ErrorMessage getErrorMessage()(Code)(Java Doc) public Resource getIcon()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Component getParent()(Code)(Java Doc) public String getStyle()(Code)(Java Doc) abstract public String getTag()(Code)(Java Doc) public Window getWindow()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isImmediate()(Code)(Java Doc) public boolean isReadOnly()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) final public void paint(PaintTarget target) throws PaintException(Code)(Java Doc) public void paintContent(PaintTarget target) throws PaintException(Code)(Java Doc) public void removeDirectDependency(VariableOwner depended)(Code)(Java Doc) public void removeListener(RepaintRequestListener listener)(Code)(Java Doc) public void removeListener(Class eventType, Object target)(Code)(Java Doc) public void removeListener(Class eventType, Object target, Method method)(Code)(Java Doc) public void removeListener(Class eventType, Object target, String methodName)(Code)(Java Doc) public void removeListener(Component.Listener listener)(Code)(Java Doc) public void requestRepaint()(Code)(Java Doc) public void requestRepaintRequests()(Code)(Java Doc) public void setCaption(String caption)(Code)(Java Doc) public void setComponentError(ErrorMessage componentError)(Code)(Java Doc) public void setData(Object data)(Code)(Java Doc) public void setDescription(String description)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setIcon(Resource icon)(Code)(Java Doc) public void setImmediate(boolean immediate)(Code)(Java Doc) public void setLocale(Locale locale)(Code)(Java Doc) public void setParent(Component parent)(Code)(Java Doc) public void setReadOnly(boolean readOnly)(Code)(Java Doc) public void setStyle(String style)(Code)(Java Doc) public void setVisible(boolean visible)(Code)(Java Doc)
|
|
|