Package videoRangePanel.layoutFX
Class VRDisplayFX2AWT
java.lang.Object
videoRangePanel.layoutFX.VRDisplayFX2AWT
- All Implemented Interfaces:
 VRPane
A wrapper to allow an FX pane to be become part of the tab p[ane.
- Author:
 - macst
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidintintgetPane()imageToScreen(Point p1) Calculate the location on an image given screen co-ordinates.voidnewImage()Called whenever a new image is loaded.booleanopenImageFile(File file) Load a an image of media filevoidrepaint()Refresh the imagescreenToImage(Point p1) Calculate the screen location given the locations on the imagevoidupdate(int updateType)  
- 
Field Details
- 
vRDisplayFX
The VRDisplay. 
 - 
 - 
Constructor Details
- 
VRDisplayFX2AWT
 
 - 
 - 
Method Details
- 
createPane
protected void createPane() - 
repaint
public void repaint()Description copied from interface:VRPaneRefresh the image - 
getImageWidth
public int getImageWidth()- Specified by:
 getImageWidthin interfaceVRPane
 - 
getImageHeight
public int getImageHeight()- Specified by:
 getImageHeightin interfaceVRPane
 - 
imageToScreen
Description copied from interface:VRPaneCalculate the location on an image given screen co-ordinates.- Specified by:
 imageToScreenin interfaceVRPane- Parameters:
 p1- - location on image- Returns:
 - the location on the screen.
 
 - 
screenToImage
Description copied from interface:VRPaneCalculate the screen location given the locations on the image- Specified by:
 screenToImagein interfaceVRPane- Parameters:
 p1- - location on screen- Returns:
 - the location on the image in pixels
 
 - 
newImage
public void newImage()Description copied from interface:VRPaneCalled whenever a new image is loaded. - 
getPane
 - 
update
public void update(int updateType)  - 
openImageFile
Load a an image of media file- Parameters:
 file- - the file to load- Returns:
 - true if the file loads successfully
 
 
 -