public class Player extends JPanel implements Constants, RunnableComponent, PlayStation, ActionListener
Player is one of the the main classes of the JClic system. It implements the
PlayStation interface, so it can read and play JClic
projects from files or streams. In order to allow activities to run,
Player provides them of all the necessary resources: media bags
(to load and realize images and other media contents), sequence control,
report system management, user interface (loading and management of skins),
display of system messages, etc.
Player is also a RunnableComponent, so it can be
embedded in applets, frames and other containers.JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
static String[] |
ACTION_ICONS
List of the names of the internal resources corresponding to the default icons
associated to the basic actions defined in
Constants. |
protected Action[] |
actions
Array containing the
Action objects used by the player. |
protected ActiveMediaBag |
activeMediaBag
Bag of realized media objects, ready to play.
|
protected Activity.Panel |
actPanel
The UI element (
Panel)of the Activity currently
running in the Player. |
protected String |
appName
The main name of the application in wich this
Player is running. |
protected boolean |
audioEnabled
This flag indicates if the
Player must play the sounds (including
system sounds) and other media contents of the activities. |
static String |
DEFAULT_APP_NAME
The default name of the application (JClic)
|
static String[] |
DEFAULT_EVENT_SOUNDS
List of the names of the internal resources corresponding to the default
event sounds used by JClic.
|
static String |
DEFAULT_REPORTER
Name of the default reporter used by JClic.
|
static String |
DEFAULT_SKIN
Name of the resource corresponding to the default skin of JClic.
|
protected Skin |
defaultSkin
Default skin of this
Player. |
protected EventSounds |
eventSounds
Current set of system sonds used in this
Player. |
protected PlayerHistory |
history
This object manages a list with the names of all the activities
currently played by the user in this
Player. |
protected Messages |
messages
The main
Messages object. |
protected boolean |
navButtonsAlways
When this flag is
true, the navigation buttons are always enabled,
despite of the indications made by the activities or the sequence control system. |
protected boolean |
navButtonsDisabled
This flag indicates if the navigation buttons (go to next activity and
go back) are enabled o disabled.
|
protected JClicProject |
project
The
JClicProject currently hosted by the
Player. |
protected Reporter |
reporter
Current reporter used by this
Player. |
protected Skin |
skin
Current
Skin of the Player. |
protected Timer |
timer
Main
Timer, used to feed the time conter. |
protected boolean |
trace
This flag indicates if the program must write verbose info to the system console.
|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTAC_MARGIN, ACTION_AUDIO, ACTION_HLP, ACTION_INFO, ACTION_NAME, ACTION_NEXT, ACTION_PREV, ACTION_REPORTS, ACTION_RESET, ACTION_RETURN, ACTIONS_COUNTER, ACTIVITY_OBJECT, AUDIO_ENABLED, BG_COLOR, COMMON_SETTINGS, COMPRESS_IMAGES, COOKIE, counterNames, DEFAULT, DEFAULT_BUNDLE, DEFAULT_RENDERING_HINTS, DYNAMIC_ACTIONS, ENABLED, EXIT_URL, EXTERNAL_OBJECT, FALSE, HAND_CURSOR, ID, INFO_URL_FRAME, JMF, LOGO_ICON, MEDIA_OBJECT, MEDIA_SYSTEM, MEDIA_SYSTEMS, MIN_CELL_SIZE, MYURL, NAV_BUTTONS_ALWAYS, NO_MEDIASYSTEM_WARN, NUM_ACTIONS, NUM_COUNTERS, OK_CURSOR, PRE_DRAW_IMAGES, PROGRAM, PROJECT_OBJECT, QT, QT61, REC_CURSOR, REPORTER_CLASS, REPORTER_PARAMS, SCORE_COUNTER, SEQUENCE_OBJECT, SKIN, SKIN_OBJECT, SYSTEM_SOUNDS, T_ACTIVITY, T_ANIM, T_AUDIO, T_CLIC, T_EXTERNAL, T_FONT, T_IMAGE, T_INST, T_JCLIC, T_MEDIA, T_MIDI, T_SEQUENCE, T_TEXT, T_UNKNOWN_MEDIA, T_URL, T_VIDEO, T_XML, TIME_COUNTER, TRACE, TRUE, URL_BASE, URL_OBJECTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
Player(Options options)
Creates a new
Player object. |
Player(Options options,
JClicProject project)
Creates a new
Player object that will be initially loaded with a specific
JClicProject. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
activate()
This method is called when the container gains the focus for the first
time or when losts it.
|
void |
activityFinished(boolean completedOk)
Activity panels use this method to notify Players that the user has finished the
current activity.
|
void |
addTo(RootPaneContainer cont,
Object constraints)
Instructs this
RunnableComponent to be self-placed into the
specified RootPaneContainer. |
protected void |
buildActions() |
void |
closeHelpWindow()
If open, closes the help dialog window.
|
protected void |
createCursors()
Creates and initializes the members of the
cursors array. |
protected void |
createEventSounds()
Creates the
eventSounds member and initializes the sound system. |
protected FileSystem |
createFileSystem() |
void |
displayUrl(String url,
boolean inFrame) |
void |
displayUrl(URL url,
boolean inFrame) |
void |
doAutoStart() |
void |
doLayout() |
void |
end()
Executes miscellaneous finalization routines.
|
void |
exit() |
void |
exit(String url) |
protected void |
finalize() |
void |
forceFinishActivity() |
Action |
getAction(int id)
The action corresponding to this index.
|
protected Icon |
getActionIcon(int actionId) |
protected String |
getActionName(int actionId) |
ActiveMediaPlayer |
getActiveMediaPlayer(MediaContent mediaContent)
Provides an appropiated
MediaPlayer suitable for a specific media. |
JComponent |
getComponent() |
int |
getCounterValue(int counterId)
Gets the current value of the specified counter.
|
Cursor |
getCustomCursor(int type)
Gets the custom cursor corresponding to the indicated type
|
FressaFunctions |
getFressa()
FressaFunctions offers special accessibility features
like atomatic scanning and voice synthesis.
|
PlayerHistory |
getHistory() |
Messages |
getMessages() |
String |
getMsg(String key) |
protected int |
getNumActions() |
Options |
getOptions() |
InputStream |
getProgressInputStream(InputStream is,
int expectedLength,
String name) |
Skin |
getSkin() |
Component |
getTopComponent() |
void |
incCounterValue(int counterId)
Increments the value of the specified counter, or decrements it when in
countDown mode.
|
protected void |
init()
Main initialization process, called once by constructors.
|
void |
initActivity() |
protected void |
initReporter()
Creates and initializes the
reporter member. |
protected void |
initSkin()
Creates and initializes the
defaultSkin member. |
protected void |
initTimers()
Creates and initializes the members
timer, delayedTimer and
delayedAction |
boolean |
load(String fullPath,
String sequence) |
void |
load(String sFullPath,
String sSequence,
String sActivity,
ActivityBagElement sAbe) |
boolean |
newInstanceRequest(String param1,
String param2)
A new instance of the
RunnableComponent has been requested by the user. |
void |
paintComponent(Graphics g) |
void |
playMedia(MediaContent mediaContent,
ActiveBox mediaPlacement)
Plays, performs or executes a MediaContent.
|
void |
playMsg()
Performs or executes the media associated with the current content of the
player's message box, if any.
|
protected boolean |
processActionEvent(String ac) |
void |
removeActivity() |
void |
reportEndActivity(Activity act,
boolean solved)
Notifies the
Reporter (if any) that an action has
been finished. |
void |
reportNewAction(Activity act,
String type,
String source,
String dest,
boolean ok,
int currentScore)
Notifies the
Reporter (if any) that an action has
been performed. |
void |
reportNewActivity(Activity act,
int currentScore)
Notifies the player that the activity has been
started.
|
void |
requestFocus() |
protected void |
runCmd(String cmd) |
protected void |
setActionsText() |
protected void |
setBackgroundSettings(Activity act) |
void |
setCountDown(int counterId,
int maxValue)
Changes the mode of operation of the specified counter to count down, starting
by the indicated value and stopping at zero.
|
void |
setCounterEnabled(int counterId,
boolean bEnabled)
Enables or disables the specified counter.
|
void |
setCounterValue(int counterId,
int newValue)
Sets the specified counter to a specific value.
|
protected Messages |
setMessages()
Creates and initializes the
messages member. |
void |
setMsg(ActiveBoxContent abc)
Sets the content of the messages area of the player.
|
protected void |
setProject(JClicProject p) |
void |
setSkin(Skin newSkin) |
void |
setSystemMessage(String msg1,
String msg2)
Sets the text of the system messages, usually displayed in the status bar of the
player.
|
void |
setWaitCursor(boolean state)
Enables or disables the wait cursor (hourglass).
|
void |
setWindowTitle() |
void |
setWindowTitle(String docTitle) |
protected void |
showAbout(boolean selectReportPane) |
boolean |
showHelp(JComponent hlpComponent,
String hlpMsg)
Instructs the Player to show a help dialog window displaying a content associated with the current
activity.
|
boolean |
start(String fullPath,
String sequence)
Starts the player, loading a specific project if specified.
|
void |
startActivity(Activity.Panel ap)
Turns on the specified
Activity.Panel. |
void |
startAutoPassTimer() |
void |
stop()
Instructs the RunnableComponent to stop working.
|
void |
stopMedia() |
void |
stopMedia(int level)
Stops all the media content currently playing that has a priority level equal or
below the specified.
|
boolean |
windowCloseRequested()
Called by the main container when it receives a
windowClosing event. |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final String DEFAULT_SKIN
public static final String DEFAULT_REPORTER
public static final String[] DEFAULT_EVENT_SOUNDS
public static final String[] ACTION_ICONS
Constants.public static final String DEFAULT_APP_NAME
protected JClicProject project
JClicProject currently hosted by the
Player.protected Activity.Panel actPanel
Panel)of the Activity currently
running in the Player.protected PlayerHistory history
Player.protected Skin defaultSkin
Player. Users can override the
DEFAULT_SKIN setting and choose another Skin to be used by
default in JClic.protected ActiveMediaBag activeMediaBag
protected Reporter reporter
Player.protected EventSounds eventSounds
Player.protected Timer timer
Timer, used to feed the time conter. This timer generates an
ActionPerformed event every second.protected boolean audioEnabled
Player must play the sounds (including
system sounds) and other media contents of the activities.protected boolean trace
protected boolean navButtonsDisabled
protected boolean navButtonsAlways
true, the navigation buttons are always enabled,
despite of the indications made by the activities or the sequence control system.
Used only for debugging projects with complicated sequence chaining.protected String appName
Player is running.public Player(Options options)
Player object.options - Options object to be used in the initialization processpublic Player(Options options, JClicProject project)
Player object that will be initially loaded with a specific
JClicProject.options - Options object to be used in the initialization processproject - JClic project to load (can be null)protected void init()
Player should override this method to initialize additional members.public boolean start(String fullPath, String sequence)
RunnableComponent interface.start in interface RunnableComponentfullPath - Full path to the JClic project file to be loaded. Can be
null.sequence - Optional parameter, used only when fullPath
is not null. It
indicates the sequence where the to start. It's also possible to indicate
a string representation of a number "N". In this case, the player will
start with the activity indicated by the Nth element of the main sequence
of the project.true if the player starts successfully.
false otherwise.public void activate()
Player.activate in interface RunnableComponentpublic void stop()
stop in interface RunnableComponentprotected void finalize()
throws Throwable
public void end()
end in interface RunnableComponentprotected void createCursors()
cursors array.protected void createEventSounds()
eventSounds member and initializes the sound system.protected void initReporter()
reporter member.protected void initSkin()
defaultSkin member.protected void initTimers()
timer, delayedTimer and
delayedActionpublic void closeHelpWindow()
protected Messages setMessages()
messages member.messages member.public Component getTopComponent()
public Skin getSkin()
public void setSkin(Skin newSkin)
newSkin - public void addTo(RootPaneContainer cont, Object constraints)
RunnableComponentRunnableComponent to be self-placed into the
specified RootPaneContainer.addTo in interface RunnableComponentcont - The container in wich the component should be placed.constraints - The constraints used in the call to the add method of the Container. This parameter can be null.protected FileSystem createFileSystem()
protected void setProject(JClicProject p)
public void load(String sFullPath, String sSequence, String sActivity, ActivityBagElement sAbe)
public void forceFinishActivity()
public void removeActivity()
public void initActivity()
public void startActivity(Activity.Panel ap)
PlayStationActivity.Panel.startActivity in interface PlayStationap - The activity panel that will be started.public void paintComponent(Graphics g)
paintComponent in class JComponentpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerprotected int getNumActions()
protected void buildActions()
protected void setActionsText()
protected String getActionName(int actionId)
protected Icon getActionIcon(int actionId)
public Action getAction(int id)
PlayStationedu.xtec.jclic.Constants.getAction in interface PlayStationid - The index for the requested action.protected boolean processActionEvent(String ac)
protected void showAbout(boolean selectReportPane)
public void playMedia(MediaContent mediaContent, ActiveBox mediaPlacement)
PlayStationplayMedia in interface PlayStationmediaContent - The MediaContent to be performed.mediaPlacement - The ActiveBox where the graphical content of the media (if any) will be
displayed.protected void runCmd(String cmd)
public void stopMedia()
public void stopMedia(int level)
PlayStationstopMedia in interface PlayStationlevel - The priority level under wich all media contents will be halted, or -1 to stop
all media.public void activityFinished(boolean completedOk)
PlayStationactivityFinished in interface PlayStationcompletedOk - true if the activity was successfully finished.public void startAutoPassTimer()
protected void setBackgroundSettings(Activity act)
public void setMsg(ActiveBoxContent abc)
PlayStationsetMsg in interface PlayStationabc - The content to show in the message box.public void playMsg()
PlayStationplayMsg in interface PlayStationpublic void incCounterValue(int counterId)
PlayStationincCounterValue in interface PlayStationcounterId - The identifier of the counter, as specified in
edu.xtec.jclic.Constants.public void setCountDown(int counterId,
int maxValue)
PlayStationsetCountDown in interface PlayStationcounterId - The identifier of the counter, as specified in
edu.xtec.jclic.Constants.maxValue - The value to initially assign to the counter.public void setCounterValue(int counterId,
int newValue)
PlayStationsetCounterValue in interface PlayStationcounterId - The identifier of the counter, as specified in
edu.xtec.jclic.Constants.newValue - The value to be assigned to the counter.public int getCounterValue(int counterId)
PlayStationgetCounterValue in interface PlayStationcounterId - The identifier of the counter, as specified in
edu.xtec.jclic.Constants.public void setCounterEnabled(int counterId,
boolean bEnabled)
PlayStationsetCounterEnabled in interface PlayStationcounterId - The identifier of the counter to enable or disable, as specified in
edu.xtec.jclic.Constants.bEnabled - true to enable the counter, false otherwise.public Messages getMessages()
public void setWaitCursor(boolean state)
PlayStationtrue or false params.
The hourglass is maintained while the counter remains >0.setWaitCursor in interface PlayStationstate - To enable or disable the wait cursor.public void setSystemMessage(String msg1, String msg2)
PlayStationsetSystemMessage in interface PlayStationmsg1 - Text of the main message.msg2 - Text of the secondary message.public JComponent getComponent()
getComponent in interface ResourceBridgepublic ActiveMediaPlayer getActiveMediaPlayer(MediaContent mediaContent)
PlayStationMediaPlayer suitable for a specific media.getActiveMediaPlayer in interface PlayStationmediaContent - The MediaContent to be used in this MediaPlayer.MediaPlayer useful for this MediaContent.public Cursor getCustomCursor(int type)
getCustomCursor in interface PlayStationtype - Type of cursor.public void reportNewActivity(Activity act, int currentScore)
PlayStationreportNewActivity in interface PlayStationact - The Activity that has been started.currentScore - The score at the beggining of the activity (usually zero, but can be different
in some cases)public void reportNewAction(Activity act, String type, String source, String dest, boolean ok, int currentScore)
PlayStationReporter (if any) that an action has
been performed. This method is only used by activities that explicity have the
reportActions flag set.reportNewAction in interface PlayStationact - The activity in wich panel the action has been performed.type - The type of action, as defined in Activity.source - The description of the object (cell, word, letter...) in wich the action has
been performed.dest - If the action involves more than one object, the description of the second one.ok - true if the action was successful, false otherwise.currentScore - Score obtained just after the action.public void reportEndActivity(Activity act, boolean solved)
PlayStationReporter (if any) that an action has
been finished.reportEndActivity in interface PlayStationact - The Activity yhat has been finished.solved - true if the activity was solved, false otherwise.public boolean showHelp(JComponent hlpComponent, String hlpMsg)
PlayStationshowHelp in interface PlayStationhlpComponent - The JComponent to be placed in the help dialog, or null if no special
content must be used. Activities usually use HelpActivityComponent objects for this param.hlpMsg - A message to be displayed on the help window, usually used in place of a
specific JComponent. This parameter can be null.true if the user clicks on the OK button of the help dialog, false otherwise.public InputStream getProgressInputStream(InputStream is, int expectedLength, String name)
getProgressInputStream in interface ResourceBridgepublic Options getOptions()
getOptions in interface ResourceBridgepublic PlayerHistory getHistory()
public void displayUrl(String url, boolean inFrame)
displayUrl in interface ResourceBridgepublic void displayUrl(URL url, boolean inFrame)
public void exit()
public void exit(String url)
public void requestFocus()
requestFocus in class JComponentpublic String getMsg(String key)
getMsg in interface ResourceBridgepublic void doAutoStart()
public boolean newInstanceRequest(String param1, String param2)
RunnableComponentRunnableComponent has been requested by the user.newInstanceRequest in interface RunnableComponentparam1 - First parameter passed to the component. Can be null.param2 - Second parameter passed to the component. Can also be null.true if the request was successfull, false otherwise.public boolean windowCloseRequested()
RunnableComponentwindowClosing event.windowCloseRequested in interface RunnableComponenttrue if the component can be safely disposed, false otherwise.public void setWindowTitle(String docTitle)
public void setWindowTitle()
public FressaFunctions getFressa()
getFressa in interface PlayStationnull if accessibility features are not enabledCopyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.