org.universAAL.ui.handler.gui.swing.classic
Class MediaObjectLAF
java.lang.Object
org.universAAL.ui.handler.gui.swing.model.Model
org.universAAL.ui.handler.gui.swing.model.FormControl.OutputModel
org.universAAL.ui.handler.gui.swing.model.FormControl.MediaObjectModel
org.universAAL.ui.handler.gui.swing.classic.MediaObjectLAF
- All Implemented Interfaces:
- EventListener, HyperlinkListener
public class MediaObjectLAF
- extends MediaObjectModel
- Author:
- pabril
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.FormControl.OutputModel |
isValid |
Methods inherited from class org.universAAL.ui.handler.gui.swing.model.Model |
correspondsTo, getComponent, getLabelModel, getPositionInGroup, getRenderer, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isInTable, needsLabel, needsPostNewLine, needsPreNewLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaObjectLAF
public MediaObjectLAF(MediaObject control,
Renderer render)
- Constructor.
- Parameters:
control
- the MediaObject
which to model
getNewComponent
public JComponent getNewComponent()
- Description copied from class:
MediaObjectModel
- The
JComponent
returned is a JLabel
. in future versions
it may accommodate other components for videos, audio and other media
files.
- Overrides:
getNewComponent
in class MediaObjectModel
- Returns:
- a
JComponent
initialised with the model's information,
update
public void update()
- Description copied from class:
MediaObjectModel
- Updating the
JLabel
- Overrides:
update
in class MediaObjectModel
Copyright © 2014 universAAL Consortium. All Rights Reserved.