本文整理了Java中javax.swing.JInternalFrame.putClientProperty()
方法的一些代码示例,展示了JInternalFrame.putClientProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JInternalFrame.putClientProperty()
方法的具体详情如下:
包路径:javax.swing.JInternalFrame
类名称:JInternalFrame
方法名:putClientProperty
暂无
代码示例来源:origin: org.fudaa.framework.ctulu/ctulu-bu
protected void setWasIcon(JInternalFrame _f, Boolean _value)
{
//if(_value!=null)
_f.putClientProperty(HAS_BEEN_ICONIFIED_PROPERTY,_value);
}
代码示例来源:origin: net.sourceforge.mydoggy/mydoggy-plaf
protected void setWasIcon(JInternalFrame f, Boolean value) {
if (value != null) {
f.putClientProperty(HAS_BEEN_ICONIFIED_PROPERTY, value);
}
}
代码示例来源:origin: org.java.net.substance/substance
@Override
public void actionPerformed(ActionEvent e) {
frame.putClientProperty(ICONIFYING, Boolean.TRUE);
super.actionPerformed(e);
frame.putClientProperty(ICONIFYING, null);
}
}
代码示例来源:origin: com.github.insubstantial/substance
@Override
public void actionPerformed(ActionEvent e) {
frame.putClientProperty(ICONIFYING, Boolean.TRUE);
super.actionPerformed(e);
frame.putClientProperty(ICONIFYING, null);
}
}
代码示例来源:origin: stackoverflow.com
JInternalFrame frame = new JInternalFrame("frame", false, false, false, false);
frame.putClientProperty("JInternalFrame.isPalette", Boolean.TRUE);
frame.getRootPane().setWindowDecorationStyle(JRootPane.NONE);
代码示例来源:origin: com.jtattoo/JTattoo
public void setCustomizedTitlePanel(JPanel panel) {
if (customTitlePanel != null) {
remove(customTitlePanel);
customTitlePanel = null;
}
if (panel != null) {
customTitlePanel = panel;
add(customTitlePanel);
}
frame.putClientProperty("customTitlePanel", customTitlePanel);
revalidate();
repaint();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/skinlf
/**
* Sets the Shaded attribute of the InternalFrameWindow object
*
* @param b The new Shaded value
*/
public void setShaded(boolean b) {
if (b == shaded) { return; }
if (b == true) {
Rectangle bounds = frame.getBounds();
Rectangle p = new Rectangle(bounds.x, bounds.y, bounds.width,
bounds.height);
frame.putClientProperty(SHADE_BOUNDS_PROPERTY, p);
frame.setBounds(p.x, p.y, p.width, frame.getMinimumSize().height - 2);
} else {
Point location = frame.getLocation();
Rectangle p = (Rectangle)frame.getClientProperty(SHADE_BOUNDS_PROPERTY);
frame.getDesktopPane().getDesktopManager().setBoundsForFrame(frame,
location.x, location.y, p.width, p.height);
frame.putClientProperty(SHADE_BOUNDS_PROPERTY, null);
}
shaded = b;
}
代码示例来源:origin: de.sciss/scisslib
ggTitle = null;
if( floating ) jif.putClientProperty( "JInternalFrame.isPalette", Boolean.TRUE );
wh.getDesktop().add( jif, floating ? JLayeredPane.PALETTE_LAYER : JLayeredPane.DEFAULT_LAYER );
代码示例来源:origin: org.jclarion/clarion-runtime
ShadowGlass glass = new ShadowGlass();
c.setGlassPane(glass);
c.putClientProperty("shadow", Boolean.TRUE);
glass.setVisible(true);
代码示例来源:origin: org.jclarion/clarion-runtime
JInternalFrame window = (JInternalFrame) parent.getWindow();
window.putClientProperty("shadow",null);
window.removeVetoableChangeListener(FramePropertyListener.getInstance());
window.getGlassPane().setVisible(false);
内容来源于网络,如有侵权,请联系作者删除!