public class DesignerFrame extends javax.swing.JFrame implements JTemplateActionListener, TargetModifiedListener
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
DESIGNER_FRAME_NAME |
static java.awt.Dimension |
MIN_SIZE |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
构造器和说明 |
---|
DesignerFrame(ToolBarMenuDock ad) |
限定符和类型 | 方法和说明 |
---|---|
void |
activateJTemplate(JTemplate<?,?> jt)
激活已经存在的模板
|
void |
addAndActivateJTemplate()
添加新建模板, 并激活.
|
void |
addAndActivateJTemplate(JTemplate<?,?> jt)
添加 模板, 并激活.
|
void |
addDesignerOpenedListener(DesignerOpenedListener listener)
注册"设计器初始化完成"的监听
|
void |
checkCombineUp(boolean flag,
java.util.ArrayList<java.lang.String> al)
检查
|
void |
closeAuthorityEditing() |
void |
disposeProgressDialog()
释放进度框
|
void |
doResize()
刷新DottedLine
|
void |
exit()
Exit退出
|
void |
fireDesignerOpened()
触发"设计器初始化完成"事件
|
protected DesktopCardPane |
getCenterTemplateCardPane() |
javax.swing.JLayeredPane |
getContentFrame() |
protected java.util.ArrayList<java.awt.event.WindowListener> |
getFrameListeners() |
ProgressDialog |
getProgressDialog() |
JTemplate<?,?> |
getSelectedJTemplate()
返回选中的模板.
|
javax.swing.JComponent |
getToolbarComponent() |
void |
hideProgressDialog()
隐藏进度框
|
protected void |
initMenuPane()
初始menuPane的方法 方便OEM时修改该组件
|
protected javax.swing.JPanel |
initNorthEastPane(ToolBarMenuDock ad) |
void |
initTitleIcon() |
protected void |
laoyoutWestPane() |
void |
needToAddAuhtorityPaint()
判断是否在权限编辑状态,若是在权限编辑状态,则需要有虚线框和关闭突变
|
void |
openTemplate(FILE tplFile)
打开模板文件,如果是已经打开的就激活此模板所对应的JInternalFrame
|
void |
populateAuthorityArea()
更新
|
void |
populateCloseButton()
刷新CloseButton
|
void |
refresh()
安装设计器相关插件时的刷新
|
void |
refreshDottedLine()
刷新
|
void |
refreshEnv()
报表运行环境改变时,需要刷新某些面板
|
void |
refreshToolbar()
刷新工具条.
|
static void |
registApp(App<?> app)
已过时。
use
JTemplateFactory.register(App) instead |
static void |
removeApp(App<?> app)
已过时。
use
JTemplateFactory.remove(App) instead |
void |
resetToolkitByPlus(ToolBarMenuDockPlus plus)
重置相关的工具条.
|
void |
saveCurrentEditingTemplate()
保存当前编辑的模板
|
void |
setCloseMode(javax.swing.Icon closeMode) |
void |
setTitle()
设置标题
|
void |
showProgressDialog() |
void |
targetModified(TargetModifiedEvent e)
对象侦听
|
void |
templateClosed(JTemplate<?,?> jt)
模板关闭时 处理.
|
void |
templateOpened(JTemplate<?,?> jt)
模板打开时 处理.
|
void |
templateSaved(JTemplate<?,?> jt)
模板保存时 处理.
|
void |
updateProgress(int progress)
更新进度框进度
|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final java.lang.String DESIGNER_FRAME_NAME
public static final java.awt.Dimension MIN_SIZE
public DesignerFrame(ToolBarMenuDock ad)
public void closeAuthorityEditing()
@Deprecated public static void registApp(App<?> app)
JTemplateFactory.register(App)
insteadapp
- 注册app.@Deprecated public static void removeApp(App<?> app)
JTemplateFactory.remove(App)
insteadapp
- apppublic void addDesignerOpenedListener(DesignerOpenedListener listener)
public void fireDesignerOpened()
protected DesktopCardPane getCenterTemplateCardPane()
protected void initMenuPane()
protected javax.swing.JPanel initNorthEastPane(ToolBarMenuDock ad)
ad
- public void initTitleIcon()
protected java.util.ArrayList<java.awt.event.WindowListener> getFrameListeners()
protected void laoyoutWestPane()
public void populateAuthorityArea()
public javax.swing.JLayeredPane getContentFrame()
public void refreshDottedLine()
public void doResize()
public void populateCloseButton()
public void setCloseMode(javax.swing.Icon closeMode)
public void checkCombineUp(boolean flag, java.util.ArrayList<java.lang.String> al)
flag
- 组件是否可见al
- 组件名称public void refreshToolbar()
public void resetToolkitByPlus(ToolBarMenuDockPlus plus)
plus
- 工具条中相关信息public javax.swing.JComponent getToolbarComponent()
public void needToAddAuhtorityPaint()
public void setTitle()
public void refreshEnv()
public void refresh()
public JTemplate<?,?> getSelectedJTemplate()
public void saveCurrentEditingTemplate()
public void addAndActivateJTemplate()
public void addAndActivateJTemplate(JTemplate<?,?> jt)
jt
- 添加的模板.public void activateJTemplate(JTemplate<?,?> jt)
jt
- 模板public void targetModified(TargetModifiedEvent e)
targetModified
在接口中 TargetModifiedListener
e
- 事件public void templateClosed(JTemplate<?,?> jt)
templateClosed
在接口中 JTemplateActionListener
jt
- 模板public void templateOpened(JTemplate<?,?> jt)
templateOpened
在接口中 JTemplateActionListener
jt
- 模板public void templateSaved(JTemplate<?,?> jt)
templateSaved
在接口中 JTemplateActionListener
jt
- 模板public void openTemplate(FILE tplFile)
tplFile
- 文件public void exit()
public ProgressDialog getProgressDialog()
public void showProgressDialog()
public void hideProgressDialog()
public void updateProgress(int progress)
progress
- public void disposeProgressDialog()