|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.openpcl.viewer.panels.PosView
public class PosView
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
static int |
sDefaultSplitterLocPclFiles
|
static int |
sTreatSplitterAsClosedIfLessThan
|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
PosView(OpenPCLViewer pOpenPCLViewer,
String pShortName)
|
Method Summary | |
---|---|
protected void |
buildUI()
|
void |
createPclPagesJTree()
Make the pages JTree and show on the screen Subclass plugins override this method so do not delete or rename this method. |
void |
createPrintingSupport()
The PosPrintPages class instantiates all printing capability. |
void |
disableHorizontalWheelScrollOnTreePanel()
|
void |
finishedUpdatingImage()
Image updating is finished |
void |
freeUpMemory()
When the user is done with this rendering session, then free up memory Subclass plugins override this method so do not delete or rename this method. |
BufferedImage |
getBufferedImageToDrawOn()
|
int |
getCurrentPageNumberSelected()
|
PosTreeNode |
getCurrentTreeNode()
|
Point |
getCurrentViewPositionPoint()
|
Rectangle |
getCurrentViewRectangle()
|
int |
getCurrentViewWindowWidth()
|
int |
getDefaultSplitterLocation()
Get the default splitter location. |
String |
getFilePathAndFileName()
|
int |
getFileType()
|
boolean |
getIsMultiPageParseFinished()
|
boolean |
getIsTreePanelShowing()
|
JInternalFrame |
getJInternalFrame()
|
JSplitPane |
getJSplitPane()
|
OpenPCLViewer |
getOpenPCLViewer()
|
String |
getPageNameForTitleBar()
|
PclRenderImage |
getPclRenderImage()
|
int |
getPixelLocForSplitter()
|
PosBuildListOfPagesToPrint |
getPosBuildListOfPagesToPrint()
Get the PosBuildListOfPagesToPrint reference. |
PosPrintPages |
getPosPrintPages()
|
PosTree |
getPosTree()
Get the PosTree reference. |
PosZoomLogic |
getPosZoomLogic()
|
String |
getShortName()
|
protected int |
getSplitPaneDividerSize()
|
JScrollPane |
getTreeJScrollPane()
|
int |
getViewNumber()
|
protected String |
instantiateObjects()
|
void |
openTreePanel(boolean pWantToOpen)
Open the tree panel |
void |
scrollViewToPosition(Rectangle pScrollBarPosition)
|
void |
setBufferedImageToDrawOn(BufferedImage pBufferedImageToDrawOn)
Set the BufferedImage to show on the screen |
void |
setChangingPartNameOnJInternalFrameTitleBar(String pString)
|
void |
setCurrentPageNumberSelected(int pCurrentPageNumberSelected)
|
void |
setCurrentTreeNode(PosTreeNode pCurrentTreeNode)
|
void |
setFilePathAndFileName(String pFilePathAndFileName)
|
void |
setFileType(int pFileType)
|
void |
setIsMultiPageParseFinished(boolean pIsMultiPageParseFinished)
|
void |
setIsTreePanelShowing(boolean pIsTreePanelShowing)
|
void |
setJInternalFrame(JInternalFrame pJInternalFrame)
|
void |
setPixelLocForSplitter(int pPixelLocForSplitter)
|
void |
setSplitterLocationToBeforeWasClosed()
Set the splitter location to last location before it was closed |
void |
setSplitterLocationToDefault()
Set the splitter location to default |
void |
setViewNumber(int pViewNumber)
|
void |
showClippedBufferedImage(int pWidth,
int pHeight)
|
void |
showUpdatingImageVisualCue()
While doing a cascade or tile horizontal or vertical, put a visual cue on the screen for each view so the user knows the image is being updated and isn't done yet. |
String |
toString()
|
void |
updateJInternalFrameTitleBarText()
|
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int sDefaultSplitterLocPclFiles
public static final int sTreatSplitterAsClosedIfLessThan
Constructor Detail |
---|
public PosView(OpenPCLViewer pOpenPCLViewer, String pShortName)
Method Detail |
---|
protected String instantiateObjects()
protected void buildUI()
protected int getSplitPaneDividerSize()
public OpenPCLViewer getOpenPCLViewer()
public JInternalFrame getJInternalFrame()
public int getViewNumber()
public int getCurrentPageNumberSelected()
public int getFileType()
public BufferedImage getBufferedImageToDrawOn()
public boolean getIsTreePanelShowing()
public boolean getIsMultiPageParseFinished()
public String getShortName()
public PosTreeNode getCurrentTreeNode()
public PclRenderImage getPclRenderImage()
public PosZoomLogic getPosZoomLogic()
public JScrollPane getTreeJScrollPane()
public JSplitPane getJSplitPane()
public int getPixelLocForSplitter()
public PosPrintPages getPosPrintPages()
public PosTree getPosTree()
getPosTree
in interface IPluginHooksPosView
public PosBuildListOfPagesToPrint getPosBuildListOfPagesToPrint()
getPosBuildListOfPagesToPrint
in interface IPluginHooksPosView
public void setViewNumber(int pViewNumber)
public void setCurrentPageNumberSelected(int pCurrentPageNumberSelected)
public void setFileType(int pFileType)
public void setChangingPartNameOnJInternalFrameTitleBar(String pString)
public void setCurrentTreeNode(PosTreeNode pCurrentTreeNode)
public void setIsTreePanelShowing(boolean pIsTreePanelShowing)
public void setIsMultiPageParseFinished(boolean pIsMultiPageParseFinished)
public void setPixelLocForSplitter(int pPixelLocForSplitter)
public void setJInternalFrame(JInternalFrame pJInternalFrame)
public void setBufferedImageToDrawOn(BufferedImage pBufferedImageToDrawOn)
pBufferedImageToDrawOn
- public void showClippedBufferedImage(int pWidth, int pHeight)
public void createPclPagesJTree()
createPclPagesJTree
in interface IPluginHooksPosView
public void createPrintingSupport()
createPrintingSupport
in interface IPluginHooksPosView
public void freeUpMemory()
freeUpMemory
in interface IPluginHooksPosView
public void openTreePanel(boolean pWantToOpen)
pWantToOpen
- public void setSplitterLocationToDefault()
public void setSplitterLocationToBeforeWasClosed()
public int getDefaultSplitterLocation()
getDefaultSplitterLocation
in interface IPluginHooksPosView
public String getFilePathAndFileName()
public void setFilePathAndFileName(String pFilePathAndFileName)
public String toString()
toString
in class Component
public String getPageNameForTitleBar()
public void updateJInternalFrameTitleBarText()
public int getCurrentViewWindowWidth()
public Point getCurrentViewPositionPoint()
public Rectangle getCurrentViewRectangle()
public void scrollViewToPosition(Rectangle pScrollBarPosition)
public void showUpdatingImageVisualCue()
public void finishedUpdatingImage()
public void disableHorizontalWheelScrollOnTreePanel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |